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

Function className

packages/react-aria-components/test/CheckboxGroup.test.js:138–138  ·  view source on GitHub ↗
({isDisabled})

Source from the content-addressed store, hash-verified

136
137 it('should support disabled state on group', () => {
138 let className = ({isDisabled}) => (isDisabled ? 'disabled' : '');
139 let {getByRole, getAllByRole} = renderGroup({isDisabled: true, className}, {className});
140 let group = getByRole('group');
141 let checkbox = getAllByRole('checkbox')[0];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected