pricing4react
Version:
A library of components that ease the integration of feature toggling driven by pricing plans into your React application's UI.
20 lines (19 loc) • 826 B
TypeScript
import { NAryFunction } from "../../logic/model/NAryFunction";
import React from "react";
export declare function On({ children, expression }: {
children: React.ReactNode;
expression?: NAryFunction<boolean> | undefined;
}): import("react/jsx-runtime").JSX.Element;
export declare function Default({ children }: {
children: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function Loading({ children }: {
children: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function ErrorFallback({ children }: {
children: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function Feature({ children, expression }: {
children: React.ReactNode;
expression: NAryFunction<boolean>;
}): import("react/jsx-runtime").JSX.Element;