vrfi-design-system 1.1.1 → 1.1.2

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.
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ import { ButtonType as ButtonType_2 } from 'antd/lib/button';
13
13
  import { CheckboxGroupProps as CheckboxGroupProps_2 } from 'antd/lib/checkbox';
14
14
  import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
15
15
  import { default as Col } from 'antd/lib/col';
16
+ import { CollapseProps } from 'antd';
16
17
  import { Colors } from '../../enums/colors.enum';
17
18
  import { ColProps } from 'antd/lib/col';
18
19
  import { ColumnSortOrder } from './../../enums/columnSortOrder.enum';
@@ -124,6 +125,18 @@ import { VerificationTypes } from '../../enums/verificationTypes.enum';
124
125
  import { VerificationTypes as VerificationTypes_2 } from '../../../enums/verificationTypes.enum';
125
126
  import * as Yup from 'yup';
126
127
 
128
+ export declare const Accordian: default_2.FC<AccordionProps>;
129
+
130
+ export declare interface AccordionItem {
131
+ id: string;
132
+ title: ReactNode;
133
+ description: ReactNode;
134
+ }
135
+
136
+ declare interface AccordionProps extends CollapseProps {
137
+ accordionList: AccordionItem[];
138
+ }
139
+
127
140
  export { ActionType }
128
141
 
129
142
  export declare const AgencyJobCard: FC<AgencyJobCardProps>;
@@ -334,6 +347,23 @@ export declare interface CustomInputProps {
334
347
  customInput?: boolean;
335
348
  }
336
349
 
350
+ export declare const CustomModal: default_2.FC<CustomModalProps>;
351
+
352
+ declare interface CustomModalProps {
353
+ modalType: CustomModalTypes;
354
+ description?: string;
355
+ btnText?: string;
356
+ onClick?: () => void;
357
+ onCancel?: () => void;
358
+ visible: boolean;
359
+ }
360
+
361
+ export declare enum CustomModalTypes {
362
+ SUCCESS = "success",
363
+ WARNING = "warning",
364
+ SORRY = "sorry"
365
+ }
366
+
337
367
  export declare interface CustomTooltipProps extends Omit<TooltipProps, 'title'> {
338
368
  icon?: ReactNode;
339
369
  title: ReactNode;