We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3d9288 commit 4bde0abCopy full SHA for 4bde0ab
src/scripts/Checkbox.tsx
@@ -56,11 +56,13 @@ export const Checkbox: FC<CheckboxProps> = (props) => {
56
};
57
const checkClassNames = classnames(className, 'slds-checkbox');
58
const check = (
59
- <label className={checkClassNames}>
+ <div className={checkClassNames}>
60
<input ref={inputRef} type='checkbox' {...rprops} />
61
- <span className='slds-checkbox_faux' />
62
- <span className='slds-form-element__label'>{label || children}</span>
63
- </label>
+ <label className='slds-checkbox__label'>
+ <span className='slds-checkbox_faux' />
+ <span className='slds-form-element__label'>{label || children}</span>
64
+ </label>
65
+ </div>
66
);
67
return grouped ? (
68
check
0 commit comments