UNPKG

carbon-custom-elements

Version:

A Carbon Design System variant that's as easy to use as native HTML elements, with no framework tax, no framework silo.

38 lines (33 loc) 996 B
/** * @license * * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { Component } from 'react'; interface ComponentProps { /** * The `aria-label` attribute for the icon to clear selection. */ clearSelectionLabel?: string; /** * The `aria-label` attribute for the `<input>` for filtering. */ inputLabel?: string; /** * The custom item matching callback. */ itemMatches?: string; } /** * Combo box. * @element bx-combo-box * @fires bx-combo-box-beingselected * The custom event fired before a combo box item is selected upon a user gesture. * Cancellation of this event stops changing the user-initiated selection. * @fires bx-combo-box-selected - The custom event fired after a a combo box item is selected upon a user gesture. */ declare class BXComboBox extends Component<ComponentProps> {} export default BXComboBox;