You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
686 B

import * as React from 'react';
import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest';
demoTest('skeleton');
rootPropsTest('skeleton', (Skeleton, props) => <Skeleton.Avatar {...props} />, {
name: 'Skeleton.Avatar',
});
rootPropsTest('skeleton', (Skeleton, props) => <Skeleton.Button {...props} />, {
name: 'Skeleton.Button',
});
rootPropsTest('skeleton', (Skeleton, props) => <Skeleton.Image {...props} />, {
name: 'Skeleton.Image',
});
rootPropsTest('skeleton', (Skeleton, props) => <Skeleton.Input {...props} />, {
name: 'Skeleton.Input',
});
rootPropsTest('skeleton', (Skeleton, props) => <Skeleton.Node {...props} />, {
name: 'Skeleton.Node',
});