graphql-form 0.0.22 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
package/lib/models.d.ts CHANGED
@@ -72,7 +72,7 @@ export declare type CastToWidgetSettingsPassedForm<WidgetData = ReturnedDictType
72
72
  };
73
73
  export declare type WidgetProps<Props> = {
74
74
  Component: React.FC<PassedFormProps<Props>>;
75
- Settings: React.FC<CastToWidgetSettingsPassedForm<Props>> | undefined;
75
+ Settings?: React.FC<CastToWidgetSettingsPassedForm<Props>> | undefined;
76
76
  Description?: React.FC;
77
77
  requirements: (props: PassedFormProps) => boolean;
78
78
  displayName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphql-form",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "Easy form creation with GraphQL Editor and React",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
package/src/models.ts CHANGED
@@ -92,7 +92,7 @@ export type CastToWidgetSettingsPassedForm<WidgetData = ReturnedDictType> = Part
92
92
 
93
93
  export type WidgetProps<Props> = {
94
94
  Component: React.FC<PassedFormProps<Props>>;
95
- Settings: React.FC<CastToWidgetSettingsPassedForm<Props>> | undefined;
95
+ Settings?: React.FC<CastToWidgetSettingsPassedForm<Props>> | undefined;
96
96
  Description?: React.FC;
97
97
  requirements: (props: PassedFormProps) => boolean;
98
98
  displayName?: string;