import React, { createContext } from 'react'; import type { SendbirdGroupChannel } from '@sendbird/uikit-utils'; import ProviderLayout from '../../../components/ProviderLayout'; import { useLocalization } from '../../../hooks/useContext'; import type { GroupChannelNotificationsContextsType, GroupChannelNotificationsModule } from '../types'; export const GroupChannelNotificationsContexts: GroupChannelNotificationsContextsType = { Fragment: createContext({ headerTitle: '', channel: {} as SendbirdGroupChannel, }), }; export const GroupChannelNotificationsContextsProvider: GroupChannelNotificationsModule['Provider'] = ({ children, channel, }) => { const { STRINGS } = useLocalization(); return ( {children} ); };