diff --git a/src/components/Stepper/Readme.md b/src/components/Stepper/Readme.md index 26acd720..e7143094 100644 --- a/src/components/Stepper/Readme.md +++ b/src/components/Stepper/Readme.md @@ -1,12 +1,17 @@ -```js -const DefaultStepContent = ({ title }) => ( + +```jsx +import React, { useState } from "react"; +import Message from "../Message" + +// Default content for each step +const DefaultStepContent = ({ title, onChange }) => (
Hello {title}
{step.description}
+ {index === currentStep &&