Skip to content

Commit

Permalink
docs: fix useForwardPropsEmits usage (unovue#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
dermitzos authored Mar 20, 2024
1 parent 19088a4 commit e50e57f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/content/utilities/use-forward-props-emits.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ This composable is just a wrapper for [useForwardProps](/utilities/use-forward-p
<script setup lang="ts">
import { useForwardPropsEmits } from 'radix-vue'
const emits = defineProps<CompEmitEmits>()
const props = defineEmits<CompEmitProps>()
const props = defineProps<CompEmitProps>()
const emits = defineEmits<CompEmitEmits>()
const forwarded = useForwardPropsEmits(props, emits)
</script>
Expand All @@ -30,4 +30,4 @@ const forwarded = useForwardPropsEmits(props, emits)
</Comp>
</template>
```


0 comments on commit e50e57f

Please sign in to comment.