diff --git a/src/components/Slider/Slider.stories.tsx b/src/components/Slider/Slider.stories.tsx index 08a8ca35..acabcb08 100644 --- a/src/components/Slider/Slider.stories.tsx +++ b/src/components/Slider/Slider.stories.tsx @@ -2,6 +2,8 @@ import type { Meta, StoryObj } from '@storybook/react' import { useState } from 'react' import { Text, View } from 'react-native' +import { StyleSheet } from 'react-native-unistyles' + import { Slider, type SliderProps } from './Slider' const meta: Meta = { @@ -32,8 +34,8 @@ const Template = (args: SliderProps) => { return ( - {positionMinRange.toFixed(0)} - {positionMaxRange.toFixed(0)} + {positionMinRange.toFixed(0)} + {positionMaxRange.toFixed(0)} { - {positionMin.toFixed(0)} + {positionMin.toFixed(0)} { ) } +const styles = StyleSheet.create(({ semantic }) => ({ + label: { color: semantic.colorScheme.color.fg.default }, +})) + export default meta type Story = StoryObj