@tripian/react 5.0.7 → 5.0.8

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,11 +1,9 @@
1
1
  import React from 'react';
2
2
  import Model from '@tripian/model';
3
3
  interface IFormTemplateRegister {
4
- profileQuestions?: Model.Question[];
5
4
  register: (value: Model.RegisterRequest) => Promise<Model.Token>;
6
5
  successRegister: (userEmail: string, token: Model.Token) => void;
7
6
  reCaptchaSiteKey: string;
8
- showProfileQuestions?: boolean;
9
7
  showCaptcha: boolean;
10
8
  }
11
9
  declare const FormTemplateRegister: React.FC<IFormTemplateRegister>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IEyeIconButton {
3
+ clicked: () => void;
4
+ show: boolean;
5
+ }
6
+ declare const EyeIconButton: React.FC<IEyeIconButton>;
7
+ export default EyeIconButton;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface ISwitch {
3
+ onchange: (value: boolean) => void;
4
+ value?: boolean;
5
+ }
6
+ declare const Switch: React.FC<ISwitch>;
7
+ export default Switch;
@@ -14,6 +14,7 @@ interface ITextField {
14
14
  disabled?: boolean;
15
15
  placeholder?: string;
16
16
  autocomplete?: string;
17
+ children?: React.ReactNode;
17
18
  }
18
19
  declare const TextField: React.FC<ITextField>;
19
20
  export default TextField;