format code
This commit is contained in:
parent
3cc4bd3f54
commit
0ab4897e6e
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.formatOnPaste": true
|
||||||
|
}
|
@ -1,6 +1,12 @@
|
|||||||
import styles from "./Search.module.css";
|
import styles from "./Search.module.css";
|
||||||
|
|
||||||
export const Search = ({ placeHolder, value, onFocus, onChange, onKeyDown }) => {
|
export const Search = ({
|
||||||
|
placeHolder,
|
||||||
|
value,
|
||||||
|
onFocus,
|
||||||
|
onChange,
|
||||||
|
onKeyDown,
|
||||||
|
}) => {
|
||||||
return (
|
return (
|
||||||
<input
|
<input
|
||||||
className={styles.search}
|
className={styles.search}
|
||||||
|
@ -82,4 +82,3 @@ export const App = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
// execute
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user