diff --git a/src/components/App/App.tsx b/src/components/App/App.tsx index dbd6f6f..fa77402 100644 --- a/src/components/App/App.tsx +++ b/src/components/App/App.tsx @@ -1,13 +1,12 @@ import React from "react"; -import { IconSearch, IconGrid } from "../"; +import { Toolbar, IconGrid } from "../"; const App = () => { return (
- Phosphor Icons{" "} +

Phosphor Icons

{ on the play store
- +
); diff --git a/src/components/IconSearch/IconSearch.tsx b/src/components/IconSearch/IconSearch.tsx deleted file mode 100644 index 5c9bdff..0000000 --- a/src/components/IconSearch/IconSearch.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import React from "react"; -import { useRecoilState } from "recoil"; - -import { searchQueryAtom, styleQueryAtom } from "../../state/atoms"; -import { IconStyle } from "../../lib/Icon"; - -type IconSearchProps = {}; - -const IconSearch: React.FC = () => { - const [query, setQuery] = useRecoilState(searchQueryAtom); - const [style, setStyle] = useRecoilState(styleQueryAtom); - - const handleSearchChange = (event: React.ChangeEvent) => { - setQuery(event.target.value); - }; - - const handleStyleChange = (event: React.ChangeEvent) => { - setStyle(event.target.value as IconStyle); - }; - - return ( - <> - - - - ); -}; - -export default IconSearch; diff --git a/src/components/index.ts b/src/components/index.ts index 3898f18..f310248 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -1,3 +1,3 @@ export { default as App } from "./App/App"; export { default as IconGrid } from "./IconGrid/IconGrid"; -export { default as IconSearch } from "./IconSearch/IconSearch"; \ No newline at end of file +export { default as Toolbar } from "./Toolbar/Toolbar"; \ No newline at end of file