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.

43 lines (37 loc) 1.07 kB
/** * @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 { /** * An assistive text for screen reader to announce, telling the open state. */ selectingItemsAssistiveText?: string; /** * An assistive text for screen reader to announce, telling that an item is selected. */ selectedItemAssistiveText?: string; /** * The content of the trigger button for narrow mode. */ triggerContent?: string; /** * Tabs type. */ type?: string; } /** * Tabs. * @element bx-tabs * @fires bx-tabs-beingselected * The custom event fired before a tab is selected upon a user gesture. * Cancellation of this event stops changing the user-initiated selection. * @fires bx-tabs-selected - The custom event fired after a a tab is selected upon a user gesture. */ declare class BXTabs extends Component<ComponentProps> {} export default BXTabs;