Skip to content

Commit

Permalink
Merge pull request #294 from layer5io/293-searchbar
Browse files Browse the repository at this point in the history
fix(components): fix searchbar export
  • Loading branch information
nebula-aac authored Nov 11, 2023
2 parents d0eff83 + 665beda commit 1978c9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/custom/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1978c9e

Please sign in to comment.