| 45 | const ButtonGroupContext = createContext<{ size: ButtonSize }>({ size: "md" }); |
| 46 | |
| 47 | interface ButtonGroupItemProps extends ToggleButtonProps, RefAttributes<HTMLButtonElement> { |
| 48 | iconLeading?: FC<{ className?: string }> | ReactNode; |
| 49 | iconTrailing?: FC<{ className?: string }> | ReactNode; |
| 50 | onClick?: () => void; |
| 51 | className?: string; |
| 52 | } |
| 53 | |
| 54 | export const ButtonGroupItem = ({ |
| 55 | iconLeading: IconLeading, |
nothing calls this directly
no outgoing calls
no test coverage detected