2020-03-11 03:31:37 +00:00
|
|
|
import React from 'react';
|
|
|
|
import {connect} from 'react-redux';
|
|
|
|
import {Button, Text} from 'native-base';
|
|
|
|
|
|
|
|
const SubmitButton = props => {
|
|
|
|
return (
|
2020-03-20 15:19:09 +00:00
|
|
|
<Button onPress={props.onSubmit}>
|
2020-03-28 07:41:34 +00:00
|
|
|
<Text>Send</Text>
|
2020-03-11 03:31:37 +00:00
|
|
|
</Button>
|
|
|
|
);
|
|
|
|
};
|
2020-03-20 15:19:09 +00:00
|
|
|
export default SubmitButton
|
|
|
|
|