({
description,
children,
descriptionClassName,
...props
}: FilterCheckboxProps)
| 10 | } |
| 11 | |
| 12 | export function FilterCheckbox({ |
| 13 | description, |
| 14 | children, |
| 15 | descriptionClassName, |
| 16 | ...props |
| 17 | }: FilterCheckboxProps): ReactElement { |
| 18 | return ( |
| 19 | <Checkbox {...props} className="!items-start !typo-callout"> |
| 20 | <div className="flex flex-col"> |
| 21 | <span className="mb-2">{children}</span> |
| 22 | {!!description && ( |
| 23 | <span |
| 24 | className={classNames( |
| 25 | 'font-normal text-text-secondary', |
| 26 | descriptionClassName, |
| 27 | )} |
| 28 | > |
| 29 | {description} |
| 30 | </span> |
| 31 | )} |
| 32 | </div> |
| 33 | </Checkbox> |
| 34 | ); |
| 35 | } |
nothing calls this directly
no outgoing calls
no test coverage detected