File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff 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+
9092The ` 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+
101105You can pass additional CSS classes to the component using ` className ` and they will be added
102106``` tsx
103107const Section = dye (' p-3 mb-4' )
You can’t perform that action at this time.
0 commit comments