@hybr1d-tech/charizard 0.6.56 → 0.6.58

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.
@@ -36,3 +36,4 @@ export * from './skeleton';
36
36
  export * from './AsyncImage';
37
37
  export * from './date-picker';
38
38
  export * from './drawer-v2';
39
+ export * from './toasts';
@@ -1,7 +1,7 @@
1
- export default function FilterDrawerAllCheckbox({ value, checked, filterKey, setFilterCheckedState, idx, }: {
2
- value: string;
1
+ import * as React from 'react';
2
+ export default function FilterDrawerAllCheckbox({ checked, filterKey, setFilterCheckedState, setHasChanges, }: {
3
3
  checked: boolean;
4
4
  filterKey: string;
5
5
  setFilterCheckedState: any;
6
- idx: number;
6
+ setHasChanges: React.Dispatch<React.SetStateAction<boolean>>;
7
7
  }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { Id, ToastOptions } from 'react-toastify';
2
+ import { ToastCloseButtonProps } from './types';
3
+
4
+ import * as React from 'react';
5
+ type ToastType = ({ msg, options }: {
6
+ msg: string | React.ReactElement;
7
+ options?: ToastOptions;
8
+ }) => Id;
9
+ export declare const toastSuccess: ToastType;
10
+ export declare const toastError: ToastType;
11
+ export declare const toastInfo: ToastType;
12
+ export declare const toastWarning: ToastType;
13
+ export declare function ToastCloseButton({ closeToast }: ToastCloseButtonProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Toasts';
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ export type ToastCloseButtonProps = {
4
+ closeToast: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
5
+ };