import React from 'react' import type { Meta, StoryObj } from '@storybook/react' import { useState } from 'react' import { SmartWearableFilter } from './SmartWearableFilter' const meta: Meta = { title: 'SmartWearableFilter', component: SmartWearableFilter } export default meta type Story = StoryObj export const SelectSW: Story = { render: () => { const i18n = { title: 'Smart', selected: 'Only Smart' } const [isOnlySmart, setIsOnlySmart] = useState(false) return ( setIsOnlySmart(value)} /> ) } }