@harpercollins/harpercollins-design-system 1.8.52 → 1.8.53
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.
|
@@ -4,7 +4,6 @@ import { BaseOption } from "./types";
|
|
|
4
4
|
export interface AutocompleteProps<T extends BaseOption> extends MuiAutocompleteProps<T, boolean, boolean, boolean> {
|
|
5
5
|
id: string;
|
|
6
6
|
options: T[];
|
|
7
|
-
defaultValue?: T;
|
|
8
7
|
label?: string;
|
|
9
8
|
}
|
|
10
9
|
declare function AutoComplete<T extends BaseOption>({ id, options, onChange, name, ...props }: AutocompleteProps<T>): ReactElement;
|
package/dist/index.d.ts
CHANGED
|
@@ -215,7 +215,6 @@ interface BaseOption {
|
|
|
215
215
|
interface AutocompleteProps<T extends BaseOption> extends AutocompleteProps$1<T, boolean, boolean, boolean> {
|
|
216
216
|
id: string;
|
|
217
217
|
options: T[];
|
|
218
|
-
defaultValue?: T;
|
|
219
218
|
label?: string;
|
|
220
219
|
}
|
|
221
220
|
declare function AutoComplete<T extends BaseOption>({ id, options, onChange, name, ...props }: AutocompleteProps<T>): ReactElement;
|