export type ToolbarCommandButtonProps = { selection: Selection | null } export type useToolbarCommandButtonProps = { selection: Selection | null hasSelection: boolean }