File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ export interface makeReactNativeFieldProps {
44 name : string ;
55}
66
7+ export interface setFormikInitialValueProps {
8+ name : string ;
9+ }
10+
711export interface withInputTypePropsProps {
812 type : string ;
913}
@@ -17,6 +21,7 @@ export interface withTouchedProps {
1721}
1822
1923export type makeInputGreatAgainProps = makeReactNativeFieldProps &
24+ setFormikInitialValueProps &
2025 withInputTypePropsProps &
2126 withErrorProps &
2227 withTouchedProps ;
@@ -25,6 +30,10 @@ export function makeReactNativeField<Props>(
2530 WrappedComponent : React . ComponentType < Props >
2631) : React . ComponentClass < Props & makeReactNativeFieldProps > ;
2732
33+ export function setFormikInitialValue < Props > (
34+ WrappedComponent : React . ComponentType < Props >
35+ ) : React . ComponentClass < Props & setFormikInitialValueProps > ;
36+
2837export function withError < Props > (
2938 WrappedComponent : React . ComponentType < Props >
3039) : React . ComponentClass < Props & withErrorProps > ;
You can’t perform that action at this time.
0 commit comments