warqadui 0.0.23 → 0.0.25

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.mts CHANGED
@@ -195,7 +195,16 @@ interface UseModalReturn {
195
195
  openState: (data: any) => void;
196
196
  state: any;
197
197
  Modal: React.FC<ModalProps>;
198
+ resetState: () => void;
199
+ defaultState: defaultStateT;
198
200
  }
201
+ type defaultStateT = {
202
+ type: string | null;
203
+ title: string;
204
+ content: React.ReactNode;
205
+ width: number;
206
+ data?: any;
207
+ };
199
208
  declare const useModal: (initialState?: boolean) => UseModalReturn;
200
209
 
201
210
  interface DateInputProps<T extends FieldValues> {
package/dist/index.d.ts CHANGED
@@ -195,7 +195,16 @@ interface UseModalReturn {
195
195
  openState: (data: any) => void;
196
196
  state: any;
197
197
  Modal: React.FC<ModalProps>;
198
+ resetState: () => void;
199
+ defaultState: defaultStateT;
198
200
  }
201
+ type defaultStateT = {
202
+ type: string | null;
203
+ title: string;
204
+ content: React.ReactNode;
205
+ width: number;
206
+ data?: any;
207
+ };
199
208
  declare const useModal: (initialState?: boolean) => UseModalReturn;
200
209
 
201
210
  interface DateInputProps<T extends FieldValues> {