import React from 'react'; import { View } from 'react-native'; import { KeyboardRegistry } from 'react-native-ui-lib/keyboard'; import { Provider } from 'react-redux'; import store from '../../lib/store'; import EmojiPicker from '../EmojiPicker'; import styles from './styles'; import { ThemeContext, TSupportedThemes } from '../../theme'; import { EventTypes } from '../EmojiPicker/interfaces'; import { IEmoji } from '../../definitions'; import { colors } from '../../lib/constants'; const EmojiKeyboard = ({ theme }: { theme: TSupportedThemes }) => { const onItemClicked = (eventType: EventTypes, emoji?: IEmoji) => { KeyboardRegistry.onItemSelected('EmojiKeyboard', { eventType, emoji }); }; return ( ); }; KeyboardRegistry.registerKeyboard('EmojiKeyboard', () => EmojiKeyboard);