Installation | Functionalities | Documentation | License | Technology | Autor | Demo
# Install React Native Step
yarn add react-native-step
# or if you prefer
npm install react-native-step
# Install React Native Vector Icons
yarn add react-native-vector-icons
# or if you prefer
npm install react-native-vector-icons
# Any problem with icons, try to link
react-native link react-native-vector-icons
# or
npx react-native link react-native-vector-icons
✔️ Creating simple step navigation.
// The color of the step indicator
colorPoint: string = '#000',
// Color icon step indicator
iconColor: string = '#fff',
import React from 'react';
import StepIndicator, {IStepPreferences} from 'react-native-step';
const App = () => {
const pref: IStepPreferences = {
colorPoint: '#000',
}
return (
<View style={{flex: 1}}>
<StepIndicator stepIndex={2} stepPreferences={pref}>
<Preparing />
<Sending />
<HasArrived />
<Finished />
</StepIndicator>
</View>
)
};
export default App;
The following tools were used in the construction of the project:
This project is under MIT license. See the archive LICENSE for more details.
Done with ❤️ per Mateus Conceição