import * as React from 'react';
import TableActionCell from '..';
import { tableActionCellTestkitFactory } from '../../../testkit';
import { tableActionCellTestkitFactory as tableActionCellEnzymeTestkitFactory } from '../../../testkit/enzyme';
import * as enzyme from 'enzyme';
function tableActionCellWithMandatoryProps() {
return ;
}
function tableActionCellWithAllProps() {
return (
{},
text: 'text',
skin: 'standard',
}}
secondaryActions={[
{
dataHook: 'hook',
disabledDescription: 'You are not allowed for this action',
tooltipProps: {
maxWidth: 250,
textAlign: 'center',
},
disabled: true,
icon: ,
onClick: () => {},
text: 'text',
},
]}
/>
);
}
async function testkits() {
const testkit = tableActionCellTestkitFactory({
dataHook: 'hook',
wrapper: document.createElement('div'),
});
const enzymeTestkit = tableActionCellEnzymeTestkitFactory({
dataHook: 'hook',
wrapper: enzyme.mount(),
});
}