import { GroupHTMLProps , GroupOptions } from 'reakit/Group/Group' ; import { cx } from '@remirror/core' ; import { ComponentsTheme } from '@remirror/theme' ; import { BootstrapRoleOptions } from './role' ; export type BootstrapGroupOptions = BootstrapRoleOptions & GroupOptions ; export function useGroupProps ( _ , htmlProps = { } ) { return { ... htmlProps , className : cx ( htmlProps . className , ComponentsTheme . GROUP ) } ; }