({
label,
description,
errorMessage,
children,
orientation = 'vertical',
...props
}: CheckboxGroupProps)
| 16 | } |
| 17 | |
| 18 | export function CheckboxGroup({ |
| 19 | label, |
| 20 | description, |
| 21 | errorMessage, |
| 22 | children, |
| 23 | orientation = 'vertical', |
| 24 | ...props |
| 25 | }: CheckboxGroupProps) { |
| 26 | return ( |
| 27 | <AriaCheckboxGroup {...props} data-orientation={orientation}> |
| 28 | {label && <Label>{label}</Label>} |
| 29 | <div className="checkbox-items">{children}</div> |
| 30 | {description && <Description>{description}</Description>} |
| 31 | <FieldError>{errorMessage}</FieldError> |
| 32 | </AriaCheckboxGroup> |
| 33 | ); |
| 34 | } |
nothing calls this directly
no outgoing calls
no test coverage detected