import * as React from "react" ; import { Button } from "react-native-elements" ; import EStyleSheet from "react-native-extended-stylesheet" ; import { palette } from "../../theme/palette" ; import type { ComponentType } from "../../types/jsx" ; const styles = EStyleSheet . create ( { buttonContainer : { margin : 20 , minWidth : "200rem" , } , buttonStyle : { backgroundColor : palette . lightBlue , borderRadius : 32 , } , titleStyle : { fontWeight : "bold" , } , } ) ; export const BrightButton = ( props ) => ( < Button title = "Join the waiting list" type = "solid" containerStyle = { styles . buttonContainer } buttonStyle = { styles . buttonStyle } titleStyle = { styles . titleStyle } { ... props } />);