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;
}| Prop | Type | Requirement | Description |
|---|---|---|---|
orientation | "horizontal" | "vertical" | Optional | Separator direction. |
decorative | boolean | Optional | Whether the separator is purely decorative. |