@accelint/design-toolkit
Version:
An open-source component library to serve as part of the entire ecosystem of UX for Accelint.
33 lines (30 loc) • 1.07 kB
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import * as react from 'react';
import { ContextValue } from 'react-aria-components';
import { ProviderProps } from '../../lib/types.js';
import { DividerProps } from './types.js';
declare const DividerContext: react.Context<ContextValue<DividerProps, HTMLHRElement>>;
declare function DividerProvider({ children, ...props }: ProviderProps<DividerProps>): react_jsx_runtime.JSX.Element;
declare namespace DividerProvider {
var displayName: string;
}
/**
* Divider - A simple horizontal or vertical rule component
*
* Provides a visual separator between content sections with support for both
* horizontal and vertical orientations.
*
* @example
* // Basic horizontal divider
* <Divider />
*
* @example
* // Vertical divider
* <Divider orientation="vertical" />
*/
declare function Divider({ ref, ...props }: DividerProps): react_jsx_runtime.JSX.Element;
declare namespace Divider {
var displayName: string;
var Provider: typeof DividerProvider;
}
export { Divider, DividerContext };