UNPKG

@emcsistemas/native-ui

Version:
12 lines 779 B
import { Colors } from "../../theme"; import EMCBox from "../EMCBox"; import EMCText from "../EMCText"; const EMCFakeInput = ({ inputText, textStyle, isBold, align, justify, bg, w, h, px, ...rest }) => { return (<EMCBox w={w || 'full'} h={h || 11} px={px || 2} bg={bg || Colors.white} rounded='sm' align={align || 'center'} justify={justify || 'center'} bColor={Colors.gray[700]} bWidth={1} {...rest}> <EMCText fColor={textStyle?.fColor} fSize={textStyle?.fSize} textAlign={textStyle?.textAlign} fWeight={isBold ? 'bold' : 'normal'} w={textStyle?.w} m={textStyle?.m} mt={textStyle?.mt} mb={textStyle?.mb} ml={textStyle?.ml} mr={textStyle?.mr}> {inputText} </EMCText> </EMCBox>); }; export default EMCFakeInput; //# sourceMappingURL=EMCFakeInput.js.map