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
Add a isDisable prop for DropdownItem, it could look like the disable action for Table
const items: DropdownItem[] = [ { label: <FormattedMessage data={'edit.swi'} />, id: 'edit', icon: <Icon component={PiPencilSimpleLine} size={16} />, isDisabled: true }, { id: 'download', label: <FormattedMessage data='download.activity.history' />, icon: <Icon component={PiDownloadSimple} size={16} />, children: [ { label: <FormattedMessage data={'pdf'} />, id: 'pdf', icon: <Icon component={PiFilePdf} size={16} /> }, { label: <FormattedMessage data='json' />, id: 'json', icon: <Icon component={PiFileJs} size={16} />, isDisabled: true } ] } ] <Dropdown items={items} onClick={onClickDropdown} > <Button /> </Dropdown>
The text was updated successfully, but these errors were encountered:
Related to #530 FYI @FrankieBortot
Sorry, something went wrong.
Mmmmm interesting nice proposal!
No branches or pull requests
The feature or bug you are proposing
Add a isDisable prop for DropdownItem, it could look like the disable action for Table
A snippet of code for replicating the issue or showing the proposal usage if applicable
The text was updated successfully, but these errors were encountered: