Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

SeparatorProps

Props accepted by a visual separator.

Import

import type { SeparatorProps } from "@dartwic/interface-sdk/ui";

Declaration

export interface SeparatorProps extends HostComponentProps {
    /** Separator direction. */
    orientation?: "horizontal" | "vertical";
    /** Whether the separator is purely decorative. */
    decorative?: boolean;
}

Members

NameTypeRequirementDescription
orientation"horizontal" | "vertical"OptionalSeparator direction.
decorativebooleanOptionalWhether the separator is purely decorative.