UNPKG

@sendbird/uikit-react

Version:

Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

17 lines (16 loc) 673 B
import type { User } from '@sendbird/chat'; import React from 'react'; export interface EditUserProfileProps { children?: React.ReactElement; onCancel?(): void; onThemeChange?(theme: string): void; onEditProfile?(updatedUser: User): void; } export interface EditUserProfileProviderInterface { onCancel?(): void; onThemeChange?(theme: string): void; onEditProfile?(updatedUser: User): void; } declare const EditUserProfileProvider: ({ children, ...props }: EditUserProfileProps) => React.JSX.Element; declare const useEditUserProfileContext: () => EditUserProfileProviderInterface; export { EditUserProfileProvider, useEditUserProfileContext, };