Skip to content

Commit 7c06295

Browse files
committed
update snap
1 parent 515cbb8 commit 7c06295

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/components/src/components/Input/Controlled.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,5 @@ import { Input } from '.'
55
export function Controlled() {
66
const [value, setValue] = useState('')
77

8-
return (
9-
<Input
10-
onChange={(e) => setValue(e.target.value)}
11-
onClear={() => setValue('')}
12-
value={value}
13-
/>
14-
)
8+
return <Input onChange={(e) => setValue(e.target.value)} value={value} />
159
}

0 commit comments

Comments
 (0)