Last active
May 17, 2021 21:06
-
-
Save iskenxan/9bcc77005e296a931c2bf4fea1f80722 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<PermissionsGate | |
RenderError={() => <p>You shall not pass!</p>} | |
scopes={[SCOPES.canCreate]} | |
> | |
<img alt="" className="vault-image" src={VAULT} /> | |
<h1>Private content</h1> | |
<p>Must be an editor to view</p> | |
</PermissionsGate> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment