Skip to content

Commit

Permalink
Merge pull request #100 from Jahan-Shah/docs/fix-import-typo
Browse files Browse the repository at this point in the history
docs: fix style import typo
  • Loading branch information
alvarosabu authored Jul 27, 2024
2 parents 428248a + 33df1c9 commit 00e57e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/guide/controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```html
<script lang="ts" setup>
import { useControls, TresLeches } from '@tresjs/leches'
import '@tresjs/leches/style'
import '@tresjs/leches/styles'
const control = useControls({
awiwi: true,
Expand Down Expand Up @@ -60,7 +60,7 @@ Most commonly, you will want to use multiple controls at the same time. In this
```html
<script lang="ts" setup>
import { useControls, TresLeches } from '@tresjs/leches'
import '@tresjs/leches/style'
import '@tresjs/leches/styles'
const { awiwi, slider} = useControls({
awiwi: true,
Expand Down Expand Up @@ -92,7 +92,7 @@ The control object has a `visible` property that can be used to hide the control
```html
<script lang="ts" setup>
import { useControls, TresLeches } from '@tresjs/leches'
import '@tresjs/leches/style'
import '@tresjs/leches/styles'
const visibilityControl = useControls({
isVisible: true
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This package is on heavy WIP and it's not ready for production. Expect possible
```html
<script lang="ts" setup>
import { useControls, TresLeches } from '@tresjs/leches'
import '@tresjs/leches/style'
import '@tresjs/leches/styles'
useControls({
awiwi: true,
Expand Down

0 comments on commit 00e57e2

Please sign in to comment.