Skip to content

Commit

Permalink
Update guides
Browse files Browse the repository at this point in the history
  • Loading branch information
ericfennis committed Apr 5, 2024
1 parent c386c28 commit a0f3b8a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/guide/packages/lucide-preact.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const App = () => {
Lucide Lab is a collection of icons that are not part of the official lucide library.
<!-- TODO: Add link to @lucide/lab repo -->
They can be used by using the `Icon` component.
For both methods, all props like regular lucide icons can be passed to adjust the icon appearance.
All props like regular lucide icons can be passed to adjust the icon appearance.

### Using the `Icon` component

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/packages/lucide-react-native.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const App = () => {
Lucide Lab is a collection of icons that are not part of the official lucide library.
<!-- TODO: Add link to @lucide/lab repo -->
They can be used by using the `Icon` component.
For both methods, all props like regular lucide icons can be passed to adjust the icon appearance.
All props like regular lucide icons can be passed to adjust the icon appearance.

### Using the `Icon` component

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/packages/lucide-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const App = () => {
Lucide Lab is a collection of icons that are not part of the official lucide library.
<!-- TODO: Add link to @lucide/lab repo -->
They can be used by using the `Icon` component.
For both methods, all props like regular lucide icons can be passed to adjust the icon appearance.
All props like regular lucide icons can be passed to adjust the icon appearance.

### Using the `Icon` component

Expand Down
5 changes: 1 addition & 4 deletions docs/guide/packages/lucide-solid.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ import { Icon } from 'lucide-solid';
import { burger, sausage } from '@lucide/lab';

const App = () => (
<>
<Icon iconNode={burger} />
<Icon iconNode={sausage} color="red"/>
</>
<Icon iconNode={sausage} color="red"/>
);
```

Expand Down
12 changes: 5 additions & 7 deletions docs/guide/packages/lucide-svelte.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,14 @@ All props like the regular Lucide icons can be passed to adjust the icon appeara

This creates a single icon based on the iconNode passed and renders a Lucide icon component.

```jsx
```svelte
<script>
import { Icon } from 'lucide-svelte';
import { burger, sausage } from '@lucide/lab';
</script>
const App = () => (
<>
<Icon iconNode={burger} />
<Icon iconNode={sausage} color="red"/>
</>
);
<Icon iconNode={burger} />
<Icon iconNode={sausage} color="red"/>
```

## One generic icon component
Expand Down
3 changes: 1 addition & 2 deletions docs/guide/packages/lucide-vue-next.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ To customize the appearance of an icon, you can pass custom properties as props
Lucide Lab is a collection of icons that are not part of the official lucide library.
<!-- TODO: Add link to @lucide/lab repo -->
They can be used by using the `Icon` component.
For both methods, all props like regular lucide icons can be passed to adjust the icon appearance.

All props like regular lucide icons can be passed to adjust the icon appearance.

### Using the `Icon` component

Expand Down

0 comments on commit a0f3b8a

Please sign in to comment.