flowbite-qwik-icons 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -9
- package/lib/flowbite-icons.qwik.cjs +10555 -11097
- package/lib/flowbite-icons.qwik.mjs +10556 -11098
- package/lib-types/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
@@ -34,11 +34,11 @@ pnpm add flowbite-qwik-icons
|
|
34
34
|
Icon size and color are inherited by default
|
35
35
|
|
36
36
|
```tsx
|
37
|
-
import { IconVolumeUpSolid } from
|
37
|
+
import { IconVolumeUpSolid } from 'flowbite-qwik-icons'
|
38
38
|
|
39
39
|
export const MyComponent = component$(() => {
|
40
40
|
return (
|
41
|
-
<div style={{ color:
|
41
|
+
<div style={{ color: 'red', fontSize: '40px' }}>
|
42
42
|
<IconVolumeUpSolid />
|
43
43
|
</div>
|
44
44
|
)
|
@@ -48,13 +48,9 @@ export const MyComponent = component$(() => {
|
|
48
48
|
Icon can be used as component props
|
49
49
|
|
50
50
|
```tsx
|
51
|
-
import { IconVolumeUpSolid } from
|
51
|
+
import { IconVolumeUpSolid } from 'flowbite-qwik-icons'
|
52
52
|
|
53
53
|
export const MyComponent = component$(() => {
|
54
|
-
return
|
55
|
-
<Button prefix={IconVolumeUpSolid}>
|
56
|
-
Next
|
57
|
-
</Button>
|
58
|
-
)
|
54
|
+
return <Button prefix={IconVolumeUpSolid}>Next</Button>
|
59
55
|
})
|
60
|
-
```
|
56
|
+
```
|