From ae7cb2ccc84cf25332d1efabeb197a5e1b05d029 Mon Sep 17 00:00:00 2001 From: Ankit Bahl Date: Fri, 19 Jan 2024 13:38:18 -0800 Subject: Added search bar for expense list page (#52) * Added search bar for expense list page * Change search input styling --------- Co-authored-by: Sebastien Castiel --- src/components/ui/search-bar.tsx | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/components/ui/search-bar.tsx (limited to 'src/components') diff --git a/src/components/ui/search-bar.tsx b/src/components/ui/search-bar.tsx new file mode 100644 index 0000000..6369c55 --- /dev/null +++ b/src/components/ui/search-bar.tsx @@ -0,0 +1,33 @@ +import * as React from "react" + +import {Input} from "@/components/ui/input"; +import {cn} from "@/lib/utils"; +import { + Search +} from 'lucide-react' + +export interface InputProps + extends React.InputHTMLAttributes {} + +const SearchBar = React.forwardRef( + ({ className, type, ...props }, ref) => { + return ( +
+ + +
+ ) + } +) +SearchBar.displayName = "SearchBar" + +export { SearchBar } -- cgit v1.3