najwer23morsels 0.4.1 → 0.4.2
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 +33 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,6 +11,30 @@ The npm package najwer23morsels allows you to style its React UI components usin
|
|
|
11
11
|
5. Tree shaking
|
|
12
12
|
6. Your own custom CSS classes
|
|
13
13
|
|
|
14
|
+
# Install
|
|
15
|
+
|
|
16
|
+
```js
|
|
17
|
+
yarn add najwer23morsels --dev
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```js
|
|
21
|
+
npm install najwer23morsels --save-dev
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
# Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { TextBox } from "najwer23morsels/lib/textbox";
|
|
28
|
+
|
|
29
|
+
export const Example = () => {
|
|
30
|
+
return (
|
|
31
|
+
<TextBox color="grey" mobileSize={20} desktopSize={20}>
|
|
32
|
+
Hello!
|
|
33
|
+
</TextBox>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
14
38
|
### Global css variables available
|
|
15
39
|
|
|
16
40
|
```CSS
|
|
@@ -33,3 +57,12 @@ The npm package najwer23morsels allows you to style its React UI components usin
|
|
|
33
57
|
--najwer23morselsSliderArrowsColor: black;
|
|
34
58
|
}
|
|
35
59
|
```
|
|
60
|
+
|
|
61
|
+
# Let's connect!
|
|
62
|
+
|
|
63
|
+
[](https://najwer23.github.io/)
|
|
64
|
+
[](https://najwer23.github.io/resume/)
|
|
65
|
+
[](https://twitter.com/najwer23)
|
|
66
|
+
[](https://www.linkedin.com/in/najwer23)
|
|
67
|
+
[](https://leetcode.com/najwer23/)
|
|
68
|
+
[](https://www.npmjs.com/~najwer23)
|