🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

custom-component-testing

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-component-testing

Testing of new library with typescript

npmnpm
Version
1.0.0
Version published
Weekly downloads
1
-88.89%
Maintainers
1
Weekly downloads
 
Created
Source

//README.md for Button

PropTypeDescriptionExample
typestring (optional)Button style type (e.g., "primary", "secondary", "disabled")."primary"
onClick() => void (optional)Callback when the button is clicked.() => console.log("Clicked!")
startIconstring (optional)Path or URL to an image displayed before the button text."/assets/arrow-left.svg"
endIconstring (optional)Path or URL to an image displayed after the button text."/assets/arrow-right.svg"
borderRadiusstring (optional)Controls border radius. Should match a class in index.module.css."normal" or "rounded"
customDesignReact.CSSProperties (optional)Inline custom styles applied to the button wrapper.{ backgroundColor: "#007bff" }
childrenReactNode (optional)Content/text inside the button."Submit" or <span>Save</span>
sizestring (optional)Adjusts size via CSS module class. Should match your class names."small", "normal", "large"

FAQs

Package last updated on 29 May 2025

Did you know?

Socket

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.

Install

Related posts