Ankilan/src/components/Form/submit-button.jsx

14 lines
263 B
React
Raw Normal View History

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}>
<Text>Send</Text>
2020-03-11 03:31:37 +00:00
</Button>
);
};
2020-03-20 15:19:09 +00:00
export default SubmitButton