import { TabbableHTMLProps , TabbableOptions } from 'reakit/Tabbable/Tabbable' ; import { cx } from '@remirror/core' ; import { ComponentsTheme } from '@remirror/theme' ; import { BootstrapRoleOptions } from './role' ; export type BootstrapTabbableOptions = BootstrapRoleOptions & TabbableOptions ; export function useTabbableProps ( _ , htmlProps = { } ) { return { ... htmlProps , className : cx ( htmlProps . className , ComponentsTheme . TABBABLE ) } ; }