
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@mercoa/react
Advanced tools
npm install --save @mercoa/react
yarn add @mercoa/react
The Mercoa React Library requires tailwindcss to function.
In addition, the following tailwind plugins need to be installed:
In your tailwind.config.ts
or tailwind.config.js
file, you will also need to add the following to colors:
const config: Config = {
// ...
theme: {
// ...
colors: {
// ...
'mercoa-primary': 'var(--mercoa-primary)',
'mercoa-primary-light': 'var(--mercoa-primary-light)',
'mercoa-primary-dark': 'var(--mercoa-primary-dark)',
'mercoa-primary-text': 'var(--mercoa-primary-text)',
'mercoa-primary-text-invert': 'var(--mercoa-primary-text-invert)',
},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
}
import { MercoaSession } from '@mercoa/react'
export default function Index(){
const token = 'YOUR_ENTITY_TOKEN' // See https://docs.mercoa.com/api-reference/api-reference/entity/user/generate-jwt-token
return <>
{/* The Mercoa Session Context without any children will render the full entity portal */}
<MercoaSession
token={token}
googleMapsApiKey={''}
>
</>
}
FAQs
Mercoa React Component Library
The npm package @mercoa/react receives a total of 1,297 weekly downloads. As such, @mercoa/react popularity was classified as popular.
We found that @mercoa/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.