import React from 'react'; import {StyleSheet, View} from 'react-native'; import Cell from './cell'; import type {KeyboardTheme, KeyConfig} from './keyboard'; interface Props { row: KeyConfig[]; onKeyPress?: (key: string) => void; onTriggerPress?: (trigger: string) => void; triggers?: Record; cellSize?: number; cellMargin?: number; cellFontSize?: number; theme?: KeyboardTheme; } const Row = (props: Props) => { return ( {props.row.map((cell, i) => ( ))} ); }; const styles = StyleSheet.create({ row: { flexDirection: 'row', justifyContent: 'flex-start', }, }); export default Row;