diff --git a/src/components/input/SearchBox.tsx b/src/components/input/SearchBox.tsx index 013718f..100b1c7 100644 --- a/src/components/input/SearchBox.tsx +++ b/src/components/input/SearchBox.tsx @@ -1,29 +1,38 @@ -'use client'; +'use client' -import React from 'react'; -import SearchIcon from '../icons/SearchIcon'; -import clsx from 'clsx'; +import React from 'react' +import SearchIcon from '../icons/SearchIcon' +import clsx from 'clsx' -interface SearchboxProps extends Omit, 'results'> { - placeholder?: string; - onChange: (e: React.ChangeEvent) => void; -}; +interface SearchboxProps + extends Omit, 'results'> { + placeholder?: string + onChange: (e: React.ChangeEvent) => void +} -export default function SearchBox({ className, value, placeholder = '', onChange, ...props }: SearchboxProps) { +export default function SearchBox ({ + className, + value, + placeholder = '', + onChange, + ...props +}: SearchboxProps) { return ( -
- +
+
- ); + ) }