@ttoss/ui 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -0
- package/package.json +4 -4
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @ttoss/ui
|
|
2
|
+
|
|
3
|
+
## 📚 About
|
|
4
|
+
|
|
5
|
+
<strong> @ttoss/ui</strong> is a easiest way to use Ui components in your React application.
|
|
6
|
+
|
|
7
|
+
## 🚀 Get Started
|
|
8
|
+
|
|
9
|
+
### Install @ttoss/ui
|
|
10
|
+
|
|
11
|
+
```shell
|
|
12
|
+
$ yarn add @ttoss/ui
|
|
13
|
+
# or
|
|
14
|
+
$ npm install @ttoss/ui
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## 📄 Examples of use
|
|
18
|
+
|
|
19
|
+
```tsx
|
|
20
|
+
import { Flex, Text, Box, Button } from '@ttoss/ui';
|
|
21
|
+
|
|
22
|
+
const App = () => {
|
|
23
|
+
return (
|
|
24
|
+
<ThemeProvider>
|
|
25
|
+
<Flex sx={{ flexDirection: 'column' }}>
|
|
26
|
+
<Text>Text Value</Text>
|
|
27
|
+
<Box>
|
|
28
|
+
<Text>Text Value</Text>
|
|
29
|
+
|
|
30
|
+
<Button>Button Primary</Button>
|
|
31
|
+
</Box>
|
|
32
|
+
</Flex>
|
|
33
|
+
</ThemeProvider>
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export default App;
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
|
|
42
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/ui",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"description": "Primitive layout, typographic, and other components for styling applications.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"react": ">=16.8.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@ttoss/config": "^0.8.
|
|
43
|
-
"@ttoss/test-utils": "^0.8.
|
|
42
|
+
"@ttoss/config": "^0.8.4",
|
|
43
|
+
"@ttoss/test-utils": "^0.8.4"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "9d8124a3110e71122dbdeebc791bac649e43791c"
|
|
46
46
|
}
|