Files
Web-Frontend/client/src/components/Canvas/CanvasComponents/SearchBar.jsx
T
vkuchenik ff95f2cbc0 Rename and Restructure
+ took out extra 'layout' directory.
+ 'Canvas' postfix removed from all files in the views directory.
+ "WidgetCanvas" renamed to "MyDashboard"
2025-08-05 12:57:18 -07:00

16 lines
490 B
React

import { Input, InputGroup } from "@chakra-ui/react";
import { FiSearch } from "react-icons/fi"
export function SearchBar({ placeholder="Enter a volcano to search", size="sm", width="210px" }) {
return (
<InputGroup startElement={<FiSearch />}>
<Input
placeholder={placeholder}
size={size}
width={width}
borderRadius="full"
bg="base100"
/>
</InputGroup>
);
}