@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
11 lines (10 loc) • 589 B
TypeScript
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 };