From 665beda8dc18442db38cbbf88b281274cebcc6bc Mon Sep 17 00:00:00 2001 From: Antonette Caldwell Date: Fri, 10 Nov 2023 18:28:55 -0600 Subject: [PATCH] fix(components): fix searchbar export fix #293 --- packages/components/src/custom/SearchBar.tsx | 2 +- packages/components/src/index.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/components/src/custom/SearchBar.tsx b/packages/components/src/custom/SearchBar.tsx index 7f659ed0..835a6963 100644 --- a/packages/components/src/custom/SearchBar.tsx +++ b/packages/components/src/custom/SearchBar.tsx @@ -4,7 +4,7 @@ import { IconButton } from '../base/IconButton'; import { TextField } from '../base/TextField'; import { Tooltip } from '../base/Tooltip'; -interface SearchBarProps { +export interface SearchBarProps { onSearch: (searchText: string) => void; style?: React.CSSProperties; placeholder?: string; diff --git a/packages/components/src/index.tsx b/packages/components/src/index.tsx index 46b3fb2d..7a580023 100644 --- a/packages/components/src/index.tsx +++ b/packages/components/src/index.tsx @@ -52,6 +52,7 @@ export { type Column, type ResponsiveDataTableProps } from './custom/ResponsiveDataTable'; +export { default as SearchBar, type SearchBarProps } from './custom/SearchBar'; export { default as UniversalFilter, type FilterColumn,