type ColorScheme = 'dark' | 'light' | 'ComapeoBlue';
type Variant = 'contained' | 'outlined' | 'text';
type Size = 'medium' | 'large';
type ButtonProps = {
// check if it is a MessageDescriptor. If it is a message descriptor translate it using [formatMessage](https://formatjs.io/docs/react-intl/api#formatmessage)
children: React.ReactNode | MessageDescriptor //https://formatjs.io/docs/react-intl/components#message-descriptor
color?: ColorScheme;
disabled?: boolean;
onPress: () => void;
size?: Size;
testID?: string;
variant?: Variant;
}
Create Button following CoMapeo Mobile's design. Button should use Material UI's Button.
Images from CoMapeo
To Do:
Props