import * as React from 'react'; import { View, Button, StyleSheet } from 'react-native'; const styles = StyleSheet.create({ viewContainer: { backgroundColor: '#fff' } }); interface ButtonLidoprops { text?: string; onClick?: () => void; customContainerClass?: object; buttonColor?: string; disabled?: boolean; } const defaultProps: ButtonLidoprops = { customContainerClass: {}, buttonColor: 'black', disabled: false }; const ButtonNative: React.FunctionComponent = (props) => { const handlePress = () => { if (props.onClick) { props.onClick(); } }; const title = props.text || 'Button'; return ( {props.children ? ( props.children ) : (