Ghost/ghost/members-auth-pages/components/FormHeaderCTA.js
Rish 19f243aed1 Refactored members auth flow with dynamic settings
no issue

- Updated members auth flow UI
- Updated members settings and routing to be dynamic
2019-05-07 17:15:50 +02:00

10 lines
221 B
JavaScript

export default ({title, label, icon, hash}) => (
<div className="gm-auth-cta">
{title ? (<h4>{ title }</h4>) : ""}
<a href={hash}>
{ label }
{ icon }
</a>
</div>
);