| 42 | }; |
| 43 | |
| 44 | interface MultiSelectFooterProps { |
| 45 | /** |
| 46 | * The size of the footer buttons. |
| 47 | * @default "sm" |
| 48 | */ |
| 49 | size?: "sm" | "md" | "lg"; |
| 50 | /** Handler that is called when the reset button is clicked. */ |
| 51 | onReset?: () => void; |
| 52 | /** Handler that is called when the select all button is clicked. */ |
| 53 | onSelectAll?: () => void; |
| 54 | /** Additional class name. */ |
| 55 | className?: string; |
| 56 | } |
| 57 | |
| 58 | const MultiSelectFooter = ({ size = "sm", onReset, onSelectAll, className }: MultiSelectFooterProps) => { |
| 59 | const btnSize = footerButtonSize[size]; |
nothing calls this directly
no outgoing calls
no test coverage detected