import React, { useState } from 'react'; import type { Meta, StoryObj } from '@storybook/react'; import { getWrapperDecorator } from '../../stories'; import { InputSearch } from '.'; const meta = { title: 'UI/InputSearch', component: InputSearch, decorators: [getWrapperDecorator()], } satisfies Meta; export default meta; type Story = StoryObj; const InputSearchWithState = () => { const [search, updateSearch] = useState(''); return (
{JSON.stringify({ search }, null, 2)}

); }; export const Default: Story = { render: () => , };