ant-design/components/checkbox/__tests__/demo.test.tsx

13 lines
285 B
TypeScript
Raw Normal View History

import * as React from 'react';
import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest';
demoTest('checkbox');
rootPropsTest(
'checkbox',
(Checkbox, props) => <Checkbox.Group {...props} value={[]} options={['Bamboo']} />,
{
name: 'Checkbox.Group',
},
);