@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite'
22import { Input } from '../../components'
33import { Label } from '../../components'
44import { expect , within , userEvent } from 'storybook/test'
5- import { SearchIcon , X as CloseIcon } from 'lucide-react'
5+ import { Rocket as LaunchIcon , Settings as SettingsIcon } from 'lucide-react'
66import { SearchInput as SearchInputCmp } from '../../components/input'
77import { useState } from 'react'
88
@@ -51,8 +51,8 @@ export const Default: Story = {
5151export const WithManualIcon : Story = {
5252 render : ( ) => (
5353 < div className = "relative w-[300px]" >
54- < SearchIcon className = "absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground" />
55- < Input type = "search" placeholder = "Search..." className = "pl-8" />
54+ < SettingsIcon className = "absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground" />
55+ < Input placeholder = "Search..." className = "pl-8" />
5656 </ div >
5757 ) ,
5858}
@@ -61,10 +61,9 @@ export const WithStartAndEndDecoration: Story = {
6161 render : ( ) => (
6262 < div className = "w-[300px]" >
6363 < Input
64- type = "search"
6564 placeholder = "Search..."
66- startDecoration = { < SearchIcon className = "h-4 w-4 text-muted-foreground" /> }
67- endDecoration = { < CloseIcon className = "h-4 w-4 text-muted-foreground" /> }
65+ startDecoration = { < SettingsIcon className = "h-4 w-4 text-muted-foreground" /> }
66+ endDecoration = { < LaunchIcon className = "h-4 w-4 text-muted-foreground" /> }
6867 />
6968 </ div >
7069 ) ,
0 commit comments