supertokens-auth-react
Version:
ReactJS SDK that provides login functionality with SuperTokens.
20 lines (19 loc) • 615 B
TypeScript
import type { TranslationStore } from "../translation/translationHelpers";
import type { PropsWithChildren } from "react";
declare type FeatureWrapperProps = {
useShadowDom?: boolean;
defaultStore: TranslationStore;
};
export default function FeatureWrapper({
children,
useShadowDom,
defaultStore,
}: PropsWithChildren<FeatureWrapperProps>): JSX.Element | null;
declare type WithOrWithoutShadowDomProps = {
useShadowDom?: boolean;
};
export declare function WithOrWithoutShadowDom({
children,
useShadowDom,
}: PropsWithChildren<WithOrWithoutShadowDomProps>): JSX.Element;
export {};