/** * @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'; export interface ComponentProps { /** * `true` if this dropdown item should be disabled. */ disabled?: boolean; /** * `true` if this dropdown item should be highlighted. * If `true`, parent `` selects/deselects this dropdown item upon keyboard interaction. * @private */ /** * `true` if this dropdown item should be highlighted. * If `true`, parent `` selects/deselects this dropdown item upon keyboard interaction. * @private */ highlighted?: boolean; /** * `true` if this dropdown item should be selected. * @private */ /** * `true` if this dropdown item should be selected. * @private */ selected?: boolean; /** * Dropdown size. */ /** * Dropdown size. */ size?: string; /** * The `value` attribute that is set to the parent `` when this dropdown item is selected. */ /** * The `value` attribute that is set to the parent `` when this dropdown item is selected. */ value?: string; [prop: string]: unknown; } /** * Dropdown item. * @element bx-dropdown-item * @csspart selected-icon The selected icon. */ /** * Dropdown item. * @element bx-dropdown-item * @csspart selected-icon The selected icon. */ declare class BXDropdownItem extends Component {} export default BXDropdownItem;