@uimkit/uikit-react
Version:
<img style="width:64px" src="https://mgmt.uimkit.chat/media/img/avatar.png"/>
20 lines (17 loc) • 781 B
TypeScript
import { PropsWithChildren } from 'react';
import { SupportedTranslations } from '../../context/TranslationContext.js';
import { Profile, Conversation } from '../../types/models.js';
import { APIClient } from '../../types/api.js';
import { Uimi18n } from '../../i18n/uimi18n.js';
interface UIKitProps {
client: APIClient;
activeProfile?: Profile;
activeConversation?: Conversation;
/** Sets the default fallback language for UI component translation, defaults to 'en' for English */
defaultLanguage?: SupportedTranslations;
/** Instance of Stream i18n */
i18nInstance?: Uimi18n;
}
declare function UIKit<T extends UIKitProps>({ children, ...rest }: PropsWithChildren<T>): JSX.Element;
export { UIKit, UIKitProps };
//# sourceMappingURL=UIKit.d.ts.map