1.0.2-alpha.0 • Published 4 years ago
@coolvision/cool-test v1.0.2-alpha.0
组件README.md
安装
npm i @coolvision/cool-test
使用
import React from 'react';
import Component from '@coolvision/cool-test';
const Demo = () => {
return (
<Component
type="primary"
/>
);
};
export default Demo;
- type: 组件的类型,如primary