Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

Separator

Horizontal or vertical visual separator.

Import

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

Declaration

export const Separator: HostComponent<SeparatorProps>;

SeparatorProps

Props accepted by a visual separator.

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