@prosperitainova/mirage-ui 1.0.15 → 1.0.17

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.
@@ -0,0 +1,11 @@
1
+ import { Props as ReactSelectProps } from "react-select";
2
+ import "../../../src/theme/fonts/ProximaNova.css";
3
+ export type SelectProps = Omit<ReactSelectProps, "onChange"> & {
4
+ onChange?: (e: any) => void;
5
+ error?: string;
6
+ success?: boolean;
7
+ helper?: string;
8
+ label?: string;
9
+ };
10
+ declare const CustomSelect: (props: SelectProps) => JSX.Element;
11
+ export default CustomSelect;
@@ -0,0 +1,5 @@
1
+ import { SelectProps } from "./CustomSelect";
2
+ import { Story, Meta } from "@storybook/react";
3
+ declare const SelectStories: Meta<SelectProps>;
4
+ export default SelectStories;
5
+ export declare const Primary: Story<SelectProps>;
@@ -0,0 +1 @@
1
+ export { default } from "./CustomSelect";
@@ -0,0 +1,3 @@
1
+ import { StylesConfig } from "react-select";
2
+ declare const ReactSelectStyles: StylesConfig;
3
+ export default ReactSelectStyles;
@@ -11,7 +11,7 @@ export { default as NotificationsBar } from "./NotificationsBar";
11
11
  export { default as Radio } from "./Radio";
12
12
  export { default as RadioGroup } from "./RadioGroup";
13
13
  export { default as Search } from "./Search";
14
- export { default as Sellect } from "./Sellect";
14
+ export { default as CustomSelect } from "./CustomSelect";
15
15
  export { default as SideBar } from "./SideBar";
16
16
  export { default as Spacer } from "./Spacer";
17
17
  export { default as TabMenu } from "./TabMenu";