@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.
18 lines • 715 B
TypeScript
import * as React from 'react';
import { BaseUIComponentProps, NativeButtonProps } from "../../utils/types.js";
/**
* A button to remove a chip.
* Renders a `<button>` element.
*/
export declare const ComboboxChipRemove: React.ForwardRefExoticComponent<ComboboxChipRemoveProps & React.RefAttributes<HTMLButtonElement>>;
export interface ComboboxChipRemoveState {
/**
* Whether the component should ignore user interaction.
*/
disabled: boolean;
}
export interface ComboboxChipRemoveProps extends NativeButtonProps, BaseUIComponentProps<'button', ComboboxChipRemove.State> {}
export declare namespace ComboboxChipRemove {
type State = ComboboxChipRemoveState;
type Props = ComboboxChipRemoveProps;
}