Skip to content

Commit

Permalink
chore: fix story
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Nov 28, 2024
1 parent 752be60 commit cf512a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/Slider/story/SliderChromatic.story.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ const controlledRtlMulti = ref([10, 30])
</SliderRoot>
</Variant>

<Variant title="" />

<Variant title="Controlled">
<SliderRoot
v-model="controlledLtr"
Expand Down
6 changes: 1 addition & 5 deletions packages/core/src/Slider/story/SliderDemo.story.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { useForwardExpose } from '@/shared'
const sliderValue = ref([50])
useForwardExpose()
const el = ref<InstanceType<typeof SliderTrack>>()
</script>

<template>
Expand All @@ -20,10 +19,7 @@ const el = ref<InstanceType<typeof SliderTrack>>()
name="slider"
class="relative flex items-center select-none touch-none w-[200px] h-5"
>
<SliderTrack
ref="el"
class="bg-blackA10 relative grow rounded-full h-[3px]"
>
<SliderTrack class="bg-blackA10 relative grow rounded-full h-[3px]">
<SliderRange class="absolute bg-white rounded-full h-full" />
</SliderTrack>
<SliderThumb
Expand Down

0 comments on commit cf512a7

Please # to comment.