import React, { PropsWithChildren } from 'react'; import type { StyleProp, TextStyle } from 'react-native'; import { Button } from 'native-base'; import { CustomText } from './CustomText'; import { StyleSheet } from 'react-native'; interface CustomButtonProps extends PropsWithChildren { title?: string; onPress?: () => void; style?: StyleProp; } export const CustomButton: React.FC = ({ style, title, children, ...restProps }) => { return ( ); }; export const styles = StyleSheet.create({ text: { color: '#fff', }, });