@base-ui-components/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.
20 lines • 723 B
TypeScript
import * as React from 'react';
import type { BaseUIComponentProps } from "../../utils/types.js";
/**
* An icon that indicates that the trigger button opens a select popup.
* Renders a `<span>` element.
*
* Documentation: [Base UI Select](https://base-ui.com/react/components/select)
*/
export declare const SelectIcon: React.ForwardRefExoticComponent<SelectIconProps & React.RefAttributes<HTMLSpanElement>>;
export interface SelectIconState {
/**
* Whether the select popup is currently open.
*/
open: boolean;
}
export interface SelectIconProps extends BaseUIComponentProps<'span', SelectIcon.State> {}
export declare namespace SelectIcon {
type State = SelectIconState;
type Props = SelectIconProps;
}