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

Function className

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

Source from the content-addressed store, hash-verified

335
336 it('should support disabled state on group', () => {
337 let className = ({isDisabled}) => (isDisabled ? 'disabled' : '');
338 let {getByRole, getAllByRole} = renderGroup({isDisabled: true, className}, {className});
339 let group = getByRole('radiogroup');
340 let radio = getAllByRole('radio')[0];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected