UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

33 lines (30 loc) 1.04 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import { HTMLAttributes } from 'react'; /** * Divider component props interface */ type DividerProps = { /** Orientation of the divider */ orientation?: 'horizontal' | 'vertical'; /** Additional CSS classes to apply */ className?: string; } & HTMLAttributes<HTMLHRElement>; /** * Divider component for Analytica Ensino platforms * * A simple divider component that creates a visual separation between content sections. * Can be used both horizontally and vertically. * * @param orientation - The orientation of the divider (horizontal or vertical) * @param className - Additional CSS classes * @param props - All other standard hr HTML attributes * @returns A styled divider element * * @example * ```tsx * <Divider orientation="horizontal" /> * <Divider orientation="vertical" className="h-8" /> * ``` */ declare const Divider: ({ orientation, className, ...props }: DividerProps) => react_jsx_runtime.JSX.Element; export { Divider as default };