Skip to content

Commit 62b3420

Browse files
committed
Update README
1 parent a840ff3 commit 62b3420

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function App() {
5959
## Features
6060

6161
- Zero dependencies.
62-
- Lightweight (**~ 0.5kb** gzipped).
62+
- Lightweight (about **0.5kb** gzipped).
6363
- Create styled components with CSS classes (ideal when using TailwindCSS or similar).
6464
- Use variants to create different styles for the same component.
6565
- Extend existing components with additional classes/variants.
@@ -87,6 +87,8 @@ will render
8787
<h1 className="mb-2 text-2xl">content</h1>
8888
```
8989

90+
<hr>
91+
9092
The `tag` is optional, and it defaults to `div`.
9193

9294
```tsx
@@ -98,6 +100,8 @@ will render
98100
<div className="p-3 mb-4">content</div>
99101
```
100102

103+
<hr>
104+
101105
You can pass additional CSS classes to the component using `className` and they will be added
102106
```tsx
103107
const Section = dye('p-3 mb-4')

0 commit comments

Comments
 (0)