import { SeparatorHTMLProps , SeparatorOptions } from 'reakit/Separator/Separator' ; import { cx } from '@remirror/core' ; import { ComponentsTheme } from '@remirror/theme' ; import { BootstrapRoleOptions } from './role' ; export type BootstrapSeparatorOptions = BootstrapRoleOptions & SeparatorOptions ; export function useSeparatorProps ( _ , htmlProps = { } ) { return { ... htmlProps , className : cx ( htmlProps . className , ComponentsTheme . SEPARATOR ) } ; }