Props

May 7, 2019 ยท View on GitHub

<Button>

v9v10
icon, icon name or icon data from carbon-iconsrenderIcon, which takes a React component, e.g. one from @carbon/icons-react
danger--primary value in kindRemoved
inputRefref

v10 example

import AddFilled16 from '@carbon/icons-react/lib/add--filled/16';

...

<Button renderIcon={AddFilled16} />