import { Icon } from '@/types/icon' export type ButtonGroupValue = string | number | boolean | null export type ButtonGroupOption = { label?: string, value: T, disabled?: boolean, icon?: Icon, } export function isButtonGroupOption(input: T | ButtonGroupOption): input is ButtonGroupOption { return typeof input === 'object' }