We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
() => ( <> <Checkbox.Group defaultValue={['value2']} options={[ { label: 'Checkbox 1', value: 'value1' }, { label: 'Checkbox 2', value: 'value2' }, { label: 'Checkbox 3', value: 'value3', disabled: true }, { label: 'Checkbox 4', value: 'value4', onChange: (event) => console.log(event.target.checked) }, ]} /> <Divider /> <Checkbox.Group layout="vertical" defaultValue={['value2']} // options={[ // { label: 'Checkbox 1', value: 'value1' }, // { label: 'Checkbox 2', value: 'value2' }, // { label: 'Checkbox 3', value: 'value3', disabled: true }, // { label: 'Checkbox 4', value: 'value4', onChange: (event) => console.log(event.target.checked) }, // ]} > <Checkbox value="value1">Checkbox 1</Checkbox> <Checkbox value="value2">Checkbox 2</Checkbox> <Checkbox value="value3">Checkbox 3</Checkbox> <Checkbox value="value4">Checkbox 4</Checkbox> </Checkbox.Group> </> )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
样式不一致
jsx
options
The text was updated successfully, but these errors were encountered: