UNPKG

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

18 lines 677 B
import * as React from 'react'; import { BaseUIComponentProps } from "../../utils/types.js"; /** * An individual chip that represents a value in a multiselectable input. * Renders a `<div>` element. */ export declare const ComboboxChip: React.ForwardRefExoticComponent<Omit<ComboboxChipProps, "ref"> & React.RefAttributes<HTMLDivElement>>; export interface ComboboxChipState { /** * Whether the component should ignore user interaction. */ disabled: boolean; } export interface ComboboxChipProps extends BaseUIComponentProps<'div', ComboboxChip.State> {} export declare namespace ComboboxChip { type State = ComboboxChipState; type Props = ComboboxChipProps; }