import React from 'react' import PropTypes from 'prop-types' import './cta1.css' const CTA1 = (props) => { return (

{props.heading1}

{props.content1}

) } CTA1.defaultProps = { action1: 'Weather history', heading1: 'What was the Weather like yesterday?', content1: 'You can Download Historical Weather Data as far as 1940!', } CTA1.propTypes = { action1: PropTypes.string, heading1: PropTypes.string, content1: PropTypes.string, action2: PropTypes.string, } export default CTA1