import { SeparatorOrientation } from '@mezzanine-ui/core/separator'; import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types'; export interface SeparatorProps extends NativeElementPropsWithoutKeyAndRef<'hr'> { /** * The orientation of the separator. * @default 'horizontal' */ orientation?: SeparatorOrientation; } /** * 水平或垂直分隔線元件。 * * 以 `
` 元素為基礎,透過 `orientation` prop 切換水平與垂直方向。 * 垂直方向時會自動設置 `aria-orientation="vertical"` 以符合無障礙規範。 * * @example * ```tsx * import Separator from '@mezzanine-ui/react/Separator'; * * // 水平分隔線(預設) * * * // 垂直分隔線 *
* 左側內容 * * 右側內容 *
* ``` */ declare const Separator: import("react").ForwardRefExoticComponent>; export default Separator;