UNPKG

@radix-ui/themes

Version:

[![Radix Themes Logo](https://radix-ui.com/social/themes.png)](https://radix-ui.com/themes)

11 lines (10 loc) 589 B
import * as React from 'react'; import { separatorPropDefs } from './separator.props.js'; import type { ComponentPropsWithout, RemovedProps } from '../helpers/index.js'; import type { GetPropDefTypes, MarginProps } from '../props/index.js'; type SeparatorOwnProps = GetPropDefTypes<typeof separatorPropDefs>; interface SeparatorProps extends ComponentPropsWithout<'span', RemovedProps>, MarginProps, SeparatorOwnProps { } declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLSpanElement>>; export { Separator }; export type { SeparatorProps };