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

{props.heading1}

{props.content1}

) } CTA1.defaultProps = { action1: 'Get Weather Updates', heading1: 'Plan Your Day with Accurate Weather Forecasts', content1: 'Stay informed about the weather conditions in your city or any location worldwide.', action2: 'Try Now', } CTA1.propTypes = { action1: PropTypes.string, heading1: PropTypes.string, content1: PropTypes.string, action2: PropTypes.string, } export default CTA1