MCPcopy Create free account
hub / github.com/adobe/react-spectrum / CheckboxGroup

Function CheckboxGroup

starters/tailwind/src/CheckboxGroup.tsx:18–29  ·  view source on GitHub ↗
(props: CheckboxGroupProps)

Source from the content-addressed store, hash-verified

16}
17
18export function CheckboxGroup(props: CheckboxGroupProps) {
19 return (
20 <AriaCheckboxGroup
21 {...props}
22 className={composeTailwindRenderProps(props.className, 'flex flex-col gap-2 font-sans')}>
23 <Label>{props.label}</Label>
24 {props.children}
25 {props.description && <Description>{props.description}</Description>}
26 <FieldError>{props.errorMessage}</FieldError>
27 </AriaCheckboxGroup>
28 );
29}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected