@leapdevuk/component-toolbox 0.0.97 → 0.0.99

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.
@@ -5,6 +5,8 @@ interface IAutocompleteProps {
5
5
  getOptionLabel?: ((option: string) => string) | undefined;
6
6
  onChange?: (event: React.SyntheticEvent, value: string) => void;
7
7
  renderOption?: (props: React.HTMLAttributes<HTMLLIElement>, value: string) => React.ReactNode;
8
+ options: string[];
9
+ value: string | undefined;
8
10
  }
9
11
  declare const LCTAutocomplete: (props: IAutocompleteProps) => import("react/jsx-runtime").JSX.Element;
10
12
  export default LCTAutocomplete;
@@ -1,3 +1,12 @@
1
- import { SelectProps } from '@mui/material';
2
- declare const LCTSelect: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
1
+ import { SelectProps, SelectChangeEvent } from '@mui/material';
2
+ interface IOnChange {
3
+ (value: string[]): void;
4
+ (event: SelectChangeEvent<string>, child: React.ReactNode): void;
5
+ }
6
+ type ISelectProps = SelectProps & {
7
+ onChange: IOnChange;
8
+ originalValue?: string[];
9
+ fullList?: string[];
10
+ };
11
+ declare const LCTSelect: (props: ISelectProps) => import("react/jsx-runtime").JSX.Element;
3
12
  export default LCTSelect;