@zealicsolutions/web-ui 0.3.60 → 0.3.61

Sign up to get free protection for your applications and to get access to all the features.
@@ -213,6 +213,11 @@ export interface ConsentFieldMolecule extends BaseMolecule {
213
213
  }>;
214
214
  conditionConfig: ConditionConfigAttributes;
215
215
  }>;
216
+ config: {
217
+ props: Partial<{
218
+ state: 'field_error';
219
+ }>;
220
+ };
216
221
  }
217
222
  export interface LinkMolecule extends BaseMolecule {
218
223
  type: 'link';
@@ -3,7 +3,8 @@ import { ConsentFieldMolecule } from 'containers';
3
3
  import { AnyObject } from 'typescript';
4
4
  declare type ConsentMoleculeProps = {
5
5
  attributes: ConsentFieldMolecule['attributes'];
6
+ config: ConsentFieldMolecule['config'];
6
7
  formData?: AnyObject;
7
8
  };
8
- export declare const ConsentMolecule: ({ attributes, formData }: ConsentMoleculeProps) => JSX.Element | null;
9
+ export declare const ConsentMolecule: ({ attributes, formData, config }: ConsentMoleculeProps) => JSX.Element | null;
9
10
  export {};