servyou-sj-ui
v0.1.10
Published
servyou UI lib
Downloads
13
Readme
servyou-sj-ui
Install
npm install servyou-sj-ui -S
Start
Import All Components
import React from 'react';
import ReactDOM from 'react-dom';
import 'servyou-sj-ui/dist/svu.css';
import {Button} from 'servyou-sj-ui';
ReactDOM.render(<Button type='primary' size='large'>这是一个按钮</Button>, document.getElementById('app'));
Import single Component
import React from 'react';
import ReactDOM from 'react-dom';
import 'servyou-sj-ui/dist/components/button/index.css';
import Button from 'servyou-sj-ui/dist/components/button/index';
ReactDOM.render(<Button type='primary' size='large'>这是一个按钮</Button>, document.getElementById('app'));