reactjs-multi-stepper 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -165,6 +165,7 @@ const steppers = [
165
165
  | ------------- | ------------ | -------- | -------------------------------------------------------------- |
166
166
  | `steppers` | `StepperType[]` | ✅ | Array of step configurations |
167
167
  | `children` | `ReactNode` | ✅ | Child components that will have access to stepper context |
168
+ | `options` | `OptionsType` | (Optional) Custom icons for step statuses |
168
169
 
169
170
  ### StepperType Interface
170
171
 
@@ -175,6 +176,17 @@ const steppers = [
175
176
  | `description` | `string` | ✅ | Step description or subtitle |
176
177
  | `children` | `ReactNode` | ✅ | Content to render for this step |
177
178
 
179
+
180
+ ### OptionsType
181
+
182
+ | Property | Type | Required | Description |
183
+ | -------------- | ---------- | -------- | ------------------------------------------- |
184
+ | `completedIcon`| ReactNode | No | Icon to display for completed steps |
185
+ | `activeIcon` | ReactNode | No | Icon to display for the active step |
186
+ | `errorIcon` | ReactNode | No | Icon to display for steps in error state |
187
+ | `loadingIcon` | ReactNode | No | Icon to display for steps in loading state |
188
+
189
+
178
190
  ### MultiStepper Props
179
191
 
180
192
  | Prop | Type | Required | Description |
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "main": "./dist/multi-stepper.umd.js",
4
4
  "module": "./dist/multi-stepper.es.js",
5
5
  "types": "./dist/index.d.ts",
6
- "version": "1.2.4",
6
+ "version": "1.2.5",
7
7
  "type": "module",
8
8
  "repository": {
9
9
  "url": "https://github.com/UppiliSrinivas/react-stepper/tree/multi-stepper"