import React from 'react'; import { Platform } from 'react-native'; import styled from 'styled-components/native'; import { Box, Text } from '../../primitives'; import { usePropsConfig } from '../../../theme'; import type { IKbdProps } from './props'; const StyledKbd = styled(Box)({}); const Kbd = ({ style, textStyle, children, ...props }: IKbdProps) => { let newProps = usePropsConfig('Kbd', props); let { fontWeight, fontSize, lineHeight, ...viewProps } = newProps; const textProps = { fontWeight, fontSize, lineHeight }; return ( {children} ); }; export default Kbd; export { IKbdProps } from './props';