@carton-org/react-neumorphism
Version:
A React component library implementing the neumorphism design style
10 lines • 385 B
TypeScript
import { Toast, ToastConfig } from '../components/Toast/toast.type';
interface ToastsContextType {
createToast: (toast: Toast, config?: ToastConfig) => void;
}
export declare const useToasts: () => ToastsContextType;
export declare const ToastsProvider: ({ children, }: {
children: React.ReactNode;
}) => React.ReactNode;
export {};
//# sourceMappingURL=ToastsProvider.d.ts.map