Skip to content

Commit 1e3d5f8

Browse files
Minor README updates to fix documentation
1 parent 5d456e6 commit 1e3d5f8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A simple and fully customizable React Native component that implements a progres
99
- Each steps content is displayed inside of a customizable ScrollView.
1010
- Customizable buttons are displayed at the bottom of the component to move between steps.
1111

12-
## ✨ What's New in 2.0.0
12+
## ✨ What's New in v2.0
1313

1414
- 🎯 **Full TypeScript Support** - Complete type definitions for an enhanced development experience
1515
- 🔄 **Modern Component Architecture** - Refactored to use functional components and React hooks
@@ -24,8 +24,8 @@ A simple and fully customizable React Native component that implements a progres
2424

2525
## Example
2626

27-
<img src="assets/example.png" width="300" height="600" style="border-radius: 8px" />
28-
<br/>
27+
<img src="assets/example.png" width="300" height="600"
28+
style="border-radius: 15px; border: 2px solid #ccc; display: block;" />
2929
<a href="examples/example.jsx">examples/example.js</a>
3030

3131
## Installation
@@ -96,8 +96,8 @@ To hide the button row, set the `removeBtnRow` prop to `true`. The current step
9696
```
9797
const [activeStep, setActiveStep] = useState(0);
9898
99-
<ProgressSteps removeBtnRow activeStep={activeStep}>
100-
<ProgressStep label="First Step">
99+
<ProgressSteps activeStep={activeStep}>
100+
<ProgressStep label="First Step" removeBtnRow>
101101
<View style={{ alignItems: 'center' }}>
102102
<Text>This is the content within step 1!</Text>
103103
</View>

0 commit comments

Comments
 (0)