mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
19f243aed1
no issue - Updated members auth flow UI - Updated members settings and routing to be dynamic
16 lines
409 B
JavaScript
16 lines
409 B
JavaScript
import { IconError } from './icons';
|
|
|
|
export default ({title, error, errorText, children}) => (
|
|
<div>
|
|
<div className="gm-auth-header">
|
|
{ title ? (<h1>{title}</h1>) : "" }
|
|
{ children }
|
|
</div>
|
|
{(error ?
|
|
<div class="gm-form-errortext"><i>{ IconError }</i>
|
|
<span> {errorText} </span>
|
|
</div> : "")
|
|
}
|
|
</div>
|
|
);
|