cruk-pattern-library-api
Version:
CRUK Pattern Library API
18 lines (14 loc) • 310 B
JSX
import React from 'react';
import PropTypes from 'prop-types';
function CtaSecondary(props) {
return (
<a className="cr-cta--secondary" href={props.href}>
{props.text}
</a>
);
}
CtaSecondary.propTypes = {
href: PropTypes.string,
text: PropTypes.string,
};
export default CtaSecondary;