import * as React from 'react'; import { mount } from 'enzyme'; import ListItemSelect, { listItemSelectBuilder } from '..'; import { listItemSelectTestkitFactory } from '../../../testkit'; import { listItemSelectTestkitFactory as listItemSelectEnzymeTestkitFactory } from '../../../testkit/enzyme'; async function testkits() { const vanilla = listItemSelectTestkitFactory({ dataHook: 'hi', wrapper: document.createElement('div'), }); await vanilla.exists(); const enzyme = listItemSelectEnzymeTestkitFactory({ dataHook: 'hi', wrapper: mount(
), }); } function ListItemSelectWithMandatoryProps() { return ; } function listItemSelectBuilderWithAllProps() { const { disabled, id, overrideOptionStyle, value, label, } = listItemSelectBuilder({ id: '1', checkbox: true, dataHook: 'data-hook', className: 'cls', disabled: true, ellipsis: true, prefix:
, selected: true, size: 'medium', subtitle: 'subtitle', suffix:
, title: 'title', label: 'label', }); } function ListItemSelectWithAllProps() { return ( {}} prefix="" selected size="small" subtitle="" suffix="" title="" highlighted /> ); }