UNPKG

@spark-web/divider

Version:

--- title: Divider storybookPath: page-layout-divider--default isExperimentalPackage: false ---

13 lines (12 loc) 572 B
import type { SparkTheme } from '@spark-web/theme'; type DividerColor = keyof Omit<SparkTheme['border']['color'], 'focus' | 'standardInverted' | 'field' | 'fieldAccent' | 'fieldDisabled'>; export type DividerProps = { /** The color of the divider */ color?: DividerColor; /** The width of the divider */ width?: keyof SparkTheme['border']['width']; /** Display the divider vertically */ vertical?: boolean; }; export declare const Divider: ({ color, vertical, width, }: DividerProps) => import("@emotion/react/jsx-runtime").JSX.Element; export {};