Skip to content

Commit

Permalink
fix(epicmaxco#2985): hide range prop in slider playground
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ksem committed Feb 17, 2023
1 parent 14a0105 commit b195b70
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

<script setup lang="ts">
import { useComponentPlayground } from '@/composables/useComponentPlayground'
import { ref } from 'vue';
import { ref, watch } from 'vue';
const value = ref([0, 0])
const value = ref<number | number[]>(0)
const { options, renderComponent, slots } = useComponentPlayground({
label: {
Expand All @@ -35,10 +35,11 @@ const { options, renderComponent, slots } = useComponentPlayground({
type: 'input',
value: ''
},
range: {
type: 'checkbox',
value: false,
},
// TODO: Range prop isn't reactive
// range: {
// type: 'checkbox',
// value: false,
// },
iconPrepend: {
type: 'input',
value: ''
Expand Down

0 comments on commit b195b70

Please sign in to comment.