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.
@bolttech/atoms-description-wrapper
Advanced tools
A React component for displaying descriptions with optional icons and styling options.
A React component for displaying descriptions with optional icons and styling options.
Use the package manager npm or yarn to install the component.
npm install @edirect/frontend-foundations @bolttech/atoms-description-wrapper
or
yarn add @edirect/frontend-foundations @bolttech/atoms-description-wrapper
The DescriptionWrapper
component accepts the following properties:
Prop | Type | Description |
---|---|---|
coverageLabel | string | The label for the coverage description. |
coverageValue | string | The value to be displayed in the description. |
sizeVariant | string | The size variant of the component (e.g., 'small' , 'medium' , 'large' ). |
icon | string | The name of the icon to be displayed next to the description. |
breakLine | boolean | If true , the description will break to a new line if necessary. |
included | boolean | If true , the component is considered included. |
dataTestId | string | The data-testid attribute for testing. |
import React from 'react';
import {DescriptionWrapper} from '@bolttech/atoms-description-wrapper';
import {bolttechTheme, BolttechThemeProvider} from "@edirect/frontend-foundations";
const ExampleComponent = () => {
return (
<BolttechThemeProvider theme={bolttechTheme}>
<DescriptionWrapper
coverageLabel="Coverage"
coverageValue="Included"
sizeVariant="small"
icon="check_circle"
breakLine={false}
included={true}
dataTestId="custom-description"
/>
</BolttechThemeProvider>
);
};
export default ExampleComponent;
Contributions are welcome! For any bug fixes, improvements, or new features, please open an issue or submit a pull request.
Please make sure to follow the code standards and test your changes before submitting.
FAQs
A React component for displaying descriptions with optional icons and styling options.
The npm package @bolttech/atoms-description-wrapper receives a total of 214 weekly downloads. As such, @bolttech/atoms-description-wrapper popularity was classified as not popular.
We found that @bolttech/atoms-description-wrapper 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.