@plteam/chat-ui
Version:
CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript
10 lines (9 loc) • 408 B
TypeScript
import { Localization } from '../../locale/Localization';
import * as React from 'react';
type LocalizationType = Localization;
type Props = React.PropsWithChildren<{
locale?: string;
}>;
declare const LocalizationProvider: ({ children, locale }: Props) => React.JSX.Element;
declare const useLocalizationContext: () => LocalizationType;
export { LocalizationProvider, useLocalizationContext };