import React from 'react'; import type { SendbirdAdminMessage } from '@sendbird/uikit-utils'; import Box from '../../components/Box'; import Text from '../../components/Text'; import createStyleSheet from '../../styles/createStyleSheet'; import useUIKitTheme from '../../theme/useUIKitTheme'; import type { GroupChannelMessageProps } from './index'; const AdminMessage = (props: GroupChannelMessageProps) => { const { colors } = useUIKitTheme(); return ( {props.message.message} ); }; const styles = createStyleSheet({ container: { width: 300, alignSelf: 'center', alignItems: 'center', }, text: { textAlign: 'center', }, }); export default AdminMessage;