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,