x-react-design
v1.2.4
Published
This is a component library developed using React and applied to React projects.
Downloads
20
Maintainers
Readme
Features
This is a component library developed using React and applied to React projects.
The volume of the NPM package is very small, only a few tens of kb.
Installation
// npm
npm i x-react-design
// cnpm
cnpm i x-react-design
// pnpm
pnpm i x-react-design
// yarn
yarn add x-react-design
Use
import React from 'react'
import ReactDOM from 'react-dom'
import { Button } from "x-react-design"
function App() {
return (
<Button type='primary'>
Hello World
</Button>
);
}
ReactDOM.render(<App />, document.getElementById('root'))
Components Include
Layout Component
Row, Col, Skeleton
Form Component
Button, Input, Select, Radio, Checkbox, Switch, Upload, Progress
Data Component
Table, Tree, Pagination, Tag
Floating Component
Modal, Drawer, Tooltip
Icons
CircleCloseIcon, CloseIcon, LeftOutlined, RightOutlined, DownOutlined, DownTriangle, RightTriangle, ArrowUpIcon
Components Path
The components folder of the source code