
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
mutter-test-package
Advanced tools
This is a test react package which is to be primarily used for demostrating the process of development and publishing of react packages
This is a test react package created by @asxyzp
which is to be primarily used for demostrating the process of development and publishing of react packages.
<Badge/>
Utility: Creating a badge component which consists of an icon such as mailbox or archive with the content or badge describing the number of items in it.
import {Badge} from 'hello-world-package';
id (STRING) Id of the badge component
icon (STRING) Bootstrap icon class value for the badge icon
content (NUMBER) Badge content which shows numerical associate with the badge component
iconClass (STRING) Class value for icon element of the badge component
badgeClass (STRING) Class value for the badge content
containerClass (STRING) Class value for the container containing both icon & content of badge component
iconStyle (OBJECT) Styles for the badge icon
badgeStyle (OBJECT) Styles for the badge content
containerStyle (OBJECT) Styles for the container containing both icon & content of badge component
<Badge icon="bi bi-archive-fill" content={1} containerClass="m-3 d-inline-flex align-items-start" iconClass='bg-dark text-light h4 p-1 rounded' badgeClass='p-1 bg-danger text-light rounded small d-flex justify-content-center align-items-center' containerStyle={{ height: "fit-content", width: "fit-content" }} iconStyle={{ height: "fit-content", width: "fit-content" }} badgeStyle={{ height: "1.5em", width: "1.5em", marginLeft: "-10px", marginTop: "-10px" }} />
<Button/>
Utility: Creating a button component to display buttons.
import {Button} from 'hello-world-package';
id (STRING) Id of the button component
classVal (STRING) Class value for button component
style (OBJECT) Styles for the button component
text (STRING) Text inside the button
<Button classVal="m-3 p-1 ps-5 pe-5 fw-bold rounded bg-dark text-light lead shadow" style={{border: "0px", outline: "0px"}} text="Hello"/>
npm start
To test the package's output, you can run npm start
which runs the app in the development mode and shows the two components (e.g. Badge & Button) on the screen. Open http://localhost:3000 to view it in your browser.
FAQs
This is a test react package which is to be primarily used for demostrating the process of development and publishing of react packages
We found that mutter-test-package demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.