Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@fremtind/jkl-loader-react
Advanced tools
@fremtind/jkl-loader-react
Se portalen for bruk og prinsipper.
Lær hvordan du kan ta i bruk Jøkul
Installér pakken med yarn add @fremtind/jkl-loader-react
eller npm i @fremtind/jkl-loader-react
. Stil-pakken blir automatisk installert som en avhengighet.
Importer både React-pakken og stil-pakken i prosjektet ditt:
import { Loader } from "@fremtind/jkl-loader-react";
import "@fremtind/jkl-loader/loader.min.css";
Komponenten tar følgende props:
textDescription
: Påkrevd. Tekstlig forklaring av innlasting, f.eks. "Laster inn skjema". string
negative
: Angir om loaderen skal brukes på mørk bakgrunn. boolean
inline
: Angir om loaderen skal brukes inne i et annet element. boolean
className
: Eventuell(e) css-klassenavn for komponenten. string
Den enkleste bruken av komponenten er altså:
<Loader textDescription="Laster inn" />
Dersom du for eksempel vil bruke loaderen inne i en primærknapp kan det gjøres på denne måten:
<PrimaryButton>
<Loader inline negative textDescription="Sender inn skjema" />
</PrimaryButton>
Prop'en className
er praktisk dersom du vil benytte spacing-skalaen vår gjennom hjelpeklassene fra jkl-core
:
<Loader className="jkl-spacing--top-3" /> // Gir 4rem spacing over loaderen
FAQs
Jøkul react loader component
The npm package @fremtind/jkl-loader-react receives a total of 259 weekly downloads. As such, @fremtind/jkl-loader-react popularity was classified as not popular.
We found that @fremtind/jkl-loader-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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.