nicecode-v2/packages/meta/src/badge/__tests__/demo.test.tsx

10 lines
228 B
TypeScript

import * as React from 'react';
import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest';
demoTest('badge');
rootPropsTest('badge', (Badge, props) => <Badge.Ribbon {...props} />, {
name: 'Badge.Ribbon',
});