![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@mintgate/react-mintgate
Advanced tools
This is a widget library for React for creating and viewing token protected content.
This is a widget library for React for creating and viewing token protected content.
Install:
yarn add @mintgate/react-mintgate
jwttoken
parameter (for Token gating form and List/Grid of token gated links by token).In React project:
Required prop:
Optional prop:
import '@mintgate/react-mintgate/dist/lib.css'
import { TPPFormWidget} from '@mintgate/react-mintgate';
function App() {
return (
<div className="App">
<TPPFormWidget jwttoken="yourjwttoken" theme='oneofourthemes'/>
</div>
);
}
export default App;
Required prop:
Optional prop:
import '@mintgate/react-mintgate/dist/lib.css'
import { TPPLinkList} from '@mintgate/react-mintgate';
function App() {
return (
<div className="App">
<TPPLinkList tokentid='yourtokenaddress' theme='oneofourthemes'/>
</div>
);
}
export default App;
Required prop:
Optional prop:
import '@mintgate/react-mintgate/dist/lib.css'
import { TPPLinkGrid} from '@mintgate/react-mintgate';
function App() {
return (
<div className="App">
<TPPLinkGrid base="4" lg="3" md="2" sm="1" xs="1" tokentid='yourtokenaddress' theme='oneofourthemes'/>
</div>
);
}
export default App;
Required prop:
Optional prop:
import '@mintgate/react-mintgate/dist/lib.css'
import { TPPLinkListUsers} from '@mintgate/react-mintgate';
function App() {
return (
<div className="App">
<TPPLinkListUsers
userid='youruserid'
jwttoken='yourjwttoken' theme='oneofourthemes'/>
</div>
);
}
export default App;
Required prop:
Optional prop:
import '@mintgate/react-mintgate/dist/lib.css'
import { TPPLinkGridUsers} from '@mintgate/react-mintgate';
function App() {
return (
<div className="App">
<TPPLinkGridUsers
userid='youruserid'
base="4" lg="3" md="2" sm="1" xs="1"
jwttoken='yourjwttoken'
theme='oneofourthemes'/>
</div>
);
}
export default App;
Required prop: tokenName (string - name of token)
Optional prop: body (true/false boolean - true show the profile info, false hides the profile info and only shows photo)
import '@mintgate/react-mintgate/dist/lib.css'
import { TokenProfile} from '@mintgate/react-mintgate';
function App() {
return (
<div className="App">
<TokenProfile
tokenName="yourtokentid" body={true/false} />
</div>
);
}
export default App;
Optional - You can add any of the following style themes as a value to the theme parameter:
Example project in the repo:
/examples/helloworld
Internal: to build a new NPM version
yarn build
yarn publish
FAQs
This is a widget library for React for creating and viewing token protected content.
We found that @mintgate/react-mintgate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.