Skip to content

Instantly share code, notes, and snippets.

@spinningcat
Last active September 8, 2019 07:34
Show Gist options
  • Save spinningcat/350b40782d3f9b63d3db148884c9f275 to your computer and use it in GitHub Desktop.
Save spinningcat/350b40782d3f9b63d3db148884c9f275 to your computer and use it in GitHub Desktop.
{
!isAuthenticated &&
<div className="wp-block-button">
<button type="button" onClick={this.handleRegister} className="wp-block-button-__link">..</button>
</div> &&
<div className="wp-block-button wp-block-button--disabled">
<button type="button" className="wp-block-button__link">...*</button>
</div>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment