UNPKG

bits-ui

Version:

The headless components for Svelte.

19 lines (18 loc) 694 B
import type { WithChild, Without } from "../../internal/types.js"; import type { Orientation } from "../../shared/index.js"; import type { BitsPrimitiveDivAttributes } from "../../shared/attributes.js"; export type SeparatorRootPropsWithoutHTML = WithChild<{ /** * The orientation of the separator. * * @defaultValue "horizontal" */ orientation?: Orientation; /** * Whether the separator is decorative and should be hidden from assistive technologies. * * @defaultValue false */ decorative?: boolean; }>; export type SeparatorRootProps = SeparatorRootPropsWithoutHTML & Without<BitsPrimitiveDivAttributes, SeparatorRootPropsWithoutHTML>;