Skip to content

Commit 173d998

Browse files
authored
Update README.md
1 parent a4dc7b7 commit 173d998

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1-
According to the [benchmark here](https://github.com/krausest/js-framework-benchmark)
1+
## Install
22

3-
![image](https://github.com/Casual-UI/react/assets/41723543/c2d9ce4a-8934-4b8a-842e-fb9dce989432)
3+
```sh
4+
npm i @casual-ui/react
5+
```
46

5-
# React now becomes the worst performance framework among all. And not to mention that the syntax/API is very anti-human.
6-
# It is not worthy to maintain anything based on React anymore.
7+
## Usage
8+
9+
* import style in your client entry
10+
```js
11+
import '@casual-ui/react/dist/style.css'
12+
```
13+
* use in jsx/tsx
14+
```jsx
15+
import { CButton } from '@casual-ui/react'
16+
17+
const App = () => <CButton label="A Button" />
18+
```

0 commit comments

Comments
 (0)