🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@stepperize/react

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stepperize/react - npm Package Compare versions

Comparing version
6.0.0
to
6.0.1
+1
-1
package.json
{
"name": "@stepperize/react",
"version": "6.0.0",
"version": "6.0.1",
"private": false,

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -35,3 +35,3 @@ <p align="center">

```tsx
const { Scoped, useStepper, steps, utils } = defineStepper(
const { Scoped, useStepper, steps, Stepper } = defineStepper(
{ id: "step-1", title: "Step 1", description: "Description for step 1" },

@@ -68,3 +68,3 @@ { id: "step-2", title: "Step 2", description: "Description for step 2" },

- An array of `steps` for rendering
- An `utils` object with useful functions
- Type-safe `Stepper` primitives for building UI

@@ -71,0 +71,0 @@ The only required field for each step is the `id`. You can add any additional properties you need, and they'll be fully type-safe when using the hook.