Table improvements: add icons for actions in withTableActions HOC
shbov opened this issue · comments
@shbov It's already implemented:
import {Printer} from '@gravity-ui/icons';
<Table getRowActions={() => [{text: 'Print', icon: <Icon data={Printer} size={12} />}]}/>
I've imporved Table example here: gravity-ui/landing#211
@shbov It's already implemented:
import {Printer} from '@gravity-ui/icons'; <Table getRowActions={() => [{text: 'Print', icon: <Icon data={Printer} size={12} />}]}/>I've imporved Table example here: gravity-ui/landing#211
Thanks! We also need to add prop icons to TableAction
as well here