@prosperitainova/mirage-ui 1.0.57 → 1.0.59

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.
@@ -1,7 +1,7 @@
1
1
  import { Props as ReactSelectProps } from "react-select";
2
2
  import "../../../src/theme/fonts/ProximaNova.css";
3
3
  export type SelectProps = Omit<ReactSelectProps, "onChange"> & {
4
- onChange?: (value: string | null) => void;
4
+ onChange?: (event: any) => void;
5
5
  error?: string | boolean;
6
6
  success?: boolean;
7
7
  helper?: string;
package/dist/index.d.ts CHANGED
@@ -173,7 +173,7 @@ type SearchProps = InputHTMLAttributes<HTMLInputElement> & {
173
173
  declare const Search: (props: SearchProps) => JSX.Element;
174
174
 
175
175
  type SelectProps = Omit<Props, "onChange"> & {
176
- onChange?: (value: string | null) => void;
176
+ onChange?: (event: any) => void;
177
177
  error?: string | boolean;
178
178
  success?: boolean;
179
179
  helper?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.0.57",
3
+ "version": "1.0.59",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {