@base-ui/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
26 lines • 878 B
text/typescript
import type * as React from 'react';
import type { BaseUIComponentProps, Orientation } from "../../internals/types.mjs";
export interface SelectSeparatorProps extends BaseUIComponentProps<'div', SelectSeparatorState> {
/**
* The orientation of the separator.
* @default 'horizontal'
*/
orientation?: Orientation | undefined;
}
export interface SelectSeparatorState {
/**
* The orientation of the separator.
*/
orientation: Orientation;
}
/**
* A visual separator between items or groups.
* Renders a `<div>` element.
*
* Documentation: [Base UI Select](https://base-ui.com/react/components/select)
*/
export declare const SelectSeparator: React.ForwardRefExoticComponent<SelectSeparatorProps & React.RefAttributes<HTMLDivElement>>;
export declare namespace SelectSeparator {
type Props = SelectSeparatorProps;
type State = SelectSeparatorState;
}