import { RoleHTMLProps } from 'reakit/Role/Role' ; import { PaletteRoleOptions } from 'reakit-system-palette/Role' ; import { cx } from '@remirror/core' ; import { ComponentsTheme } from '@remirror/theme' ; export type BootstrapRoleOptions = PaletteRoleOptions ; export function useRoleProps ( _ , htmlProps = { } ) { return { ... htmlProps , className : cx ( ComponentsTheme . ROLE , htmlProps . className ) } ; }