Properties
Static SuperTokensWrapper
SuperTokensWrapper: FC<PropsWithChildren<{ userContext?: UserContext }>> = SuperTokensWrapper
Static getTranslationFunction
get
TranslationFunction: (<T>(...stores: TranslationStore[]) => ((key: T, replacements?: Record<string, string>) => string)) = getTranslationFunctionType declaration
- <T>(...stores: TranslationStore[]): ((key: T, replacements?: Record<string, string>) => string)
Type Parameters
Parameters
Returns ((key: T, replacements?: Record<string, string>) => string)
- (key: T, replacements?: Record<string, string>): string
Parameters
key: T
Optional replacements: Record<string, string>
Returns string
Static useTranslation
useTranslation: (() => TranslationFunc) = useTranslation
Static useUserContext
useUserContext: (() => UserContext) = useUserContext