UNPKG

@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.

15 lines 696 B
import * as React from 'react'; import type { BaseUIComponentProps } from "../../utils/types.js"; /** * An accessible label that is automatically associated with its parent group. * Renders a `<div>` element. * * Documentation: [Base UI Select](https://base-ui.com/react/components/select) */ export declare const SelectGroupLabel: React.ForwardRefExoticComponent<SelectGroupLabelProps & React.RefAttributes<HTMLDivElement>>; export interface SelectGroupLabelState {} export interface SelectGroupLabelProps extends BaseUIComponentProps<'div', SelectGroupLabel.State> {} export declare namespace SelectGroupLabel { type State = SelectGroupLabelState; type Props = SelectGroupLabelProps; }