Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
react-stepper-component-with-svg
Advanced tools
Readme
React Stepper Component is a simple yet customizable component using SVG that will help you to make you application more intutive and appealing. This will help you make you stepper more responsive.
npm install --save react-stepper-component-with-svg
import Stepper from 'react-stepper-component-with-svg';
<Stepper onClickCallback={callbackFunctionName} stepperData={stepperData}/>
Props | Option | Default | Description |
---|---|---|---|
onClickCallback | function | none | Callback function for click on step item |
stepperData | StepperDTO | none | Object that manages the stepper |
const stepperData = {
currentStep: 2,
outerCircleBorderColor: "#ccc",
innerCircleBorderColor: "#ccc",
counterTextColor: "#ccc",
labelTextColor: "#ccc",
completedIndicatorColor: "green",
completedTextColor: "#fff",
connectorColor: "#ccc",
completedLabelColor: "green",
activeIndicator: "#006400",
steps: [
{
title: 'Step1'
},
{
title: 'Step2'
},
{
title: 'Step3'
},
{
title: 'Step4'
},
{
title: 'Step5'
}
]
};
Props | Option | Default | Description |
---|---|---|---|
currentStep | number | none | Value for active step |
outerCircleBorderColor | string | Color code for the outer circle | |
innerCircleBorderColor | string | Color code for the inner circle | |
counterTextColor | string | Color code for counter text | |
labelTextColor | string | Color code for label | |
completedIndicatorColor | string | Color code for completion indicator | |
completedTextColor | string | Color code for completed text | |
connectorColor | string | Color code for connector line | |
completedLabelColor | string | Color code for completed label | |
activeIndicator | string | Color code for active step indicator | |
steps | [StepsDTO] | none | Array of objects with label for step |
Props | Option | Default | Description |
---|---|---|---|
title | string | none | Label for the stepper |
FAQs
simple react stepper component with svg
The npm package react-stepper-component-with-svg receives a total of 9 weekly downloads. As such, react-stepper-component-with-svg popularity was classified as not popular.
We found that react-stepper-component-with-svg 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.