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";
import "@fremtind/jkl-loader/skeleton-loader.min.css"; // dersom du skal bruke Skeleton-komponenter
Komponenten tar følgende props:
textDescription
: Påkrevd. Tekstlig forklaring av innlasting, f.eks. "Laster inn skjema". string
variant
: Velg mellom ulike størrelser. large
(default), medium
eller small
.className
: Eventuell(e) css-klassenavn for komponenten. string
politeness
: Sett politeness setting på aria-live. polite
(default) eller assertive
.Den enkleste bruken av komponenten er altså:
<Loader textDescription="Laster inn" />
Prop'en className
er praktisk dersom du vil benytte spacing eller sette farge gjennom hjelpeklassene fra jkl-core
:
<Loader className="jkl-spacing-l--top" /> // Gir spacing over loaderen
Dersom du vil bruke inline loader i knapp har funksjonalitet for det blitt eksponert via props i jkl-button-react
.
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.