vrfi-design-system 1.1.56 → 1.1.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +11 -0
- package/dist/main.es.js +8220 -8161
- package/dist/main.umd.js +103 -103
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -987,6 +987,17 @@ export declare interface SearchComponentProps {
|
|
|
987
987
|
|
|
988
988
|
export declare const SearchField: FC<SearchComponentProps>;
|
|
989
989
|
|
|
990
|
+
export declare function SearchWithSuggestions<T extends object>({ placeholder, onSearch, suggestions, searchKeys, onSelectSuggestion, className, }: SearchWithSuggestionsProps<T>): default_2.JSX.Element;
|
|
991
|
+
|
|
992
|
+
declare interface SearchWithSuggestionsProps<T> {
|
|
993
|
+
placeholder: string;
|
|
994
|
+
onSearch: (value: string) => void;
|
|
995
|
+
suggestions?: T[];
|
|
996
|
+
searchKeys: (keyof T)[];
|
|
997
|
+
onSelectSuggestion?: (suggestion: T) => void;
|
|
998
|
+
className?: string;
|
|
999
|
+
}
|
|
1000
|
+
|
|
990
1001
|
export declare const Segmented: FC<SegmentedProps>;
|
|
991
1002
|
|
|
992
1003
|
export declare interface SegmentedProps extends SegmentedProps_2 {
|