@furystack/shades-common-components
Version:
Common UI components for FuryStack Shades
22 lines • 1.15 kB
TypeScript
import type { PartialElement } from '@furystack/shades';
export type DividerProps = PartialElement<HTMLElement> & {
/** Orientation of the divider */
orientation?: 'horizontal' | 'vertical';
/** Variant controls whether the divider spans the full width/height or is inset */
variant?: 'full' | 'inset' | 'middle';
/** Alignment of text content within the divider. Only applies to horizontal dividers with children. */
textAlign?: 'left' | 'center' | 'right';
};
export declare const Divider: (props: Omit<Partial<HTMLElement>, "style"> & {
style?: Partial<CSSStyleDeclaration>;
} & {
ref?: import("@furystack/shades").RefObject<Element>;
} & {
/** Orientation of the divider */
orientation?: "horizontal" | "vertical";
/** Variant controls whether the divider spans the full width/height or is inset */
variant?: "full" | "inset" | "middle";
/** Alignment of text content within the divider. Only applies to horizontal dividers with children. */
textAlign?: "left" | "center" | "right";
}, children?: import("@furystack/shades").ChildrenList) => JSX.Element;
//# sourceMappingURL=divider.d.ts.map