Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
@volkenomakers/progress-steps
Advanced tools
Readme
npm install @volkenomakers/progress-steps
yarn add @volkenomakers/progress-steps
import React from "react";
import { View, Button, Text } from "react-native";
import ProgressSteps from "@volkenomakers/progress-steps";
const ProgressStapsApp = () => {
return (
<ProgressSteps
onFinish={() => console.log("finished")}
indicatorColor="#FFF"
indicatorHeight={5}
containerStyle={{ flex: 1, backgroundColor: "#3498db", paddingTop: 24 }}
indicatorContainerStyle={{
backgroundColor: "#3498db",
paddingVertical: 10,
}}
renderEndButton={(onPress) => (
<Button color={"#FFF"} title={"Done"} onPress={onPress} />
)}
renderNextButton={(onPress) => (
<Button color={"#FFF"} title={"Next"} onPress={onPress} />
)}
>
<Step title="First step" />
<Step title="Step2" />
<Step title="Step3" />
<Step title="Last step" />
</ProgressSteps>
);
};
export default ProgressStapsApp;
const Step = ({ title }) => {
return (
<View
style={{
backgroundColor: "#EEE",
alignItems: "center",
justifyContent: "center",
flex: 1,
}}
>
<Text style={{ fontSize: 40 }}>{title}</Text>
</View>
);
};
Property name | Type | Description |
---|---|---|
onFinish | Function | callback to be called when the user click to the end button |
indicatorContainerStyle | Object | Custom style for the container of indicators |
containerStyle | Object | Custom style for the View container |
indicatorColor | String | color of the indicators |
indicatorHeight | Number | height of the indicators |
renderNextButton | Function | render the next button |
renderEndButton | String | render the end button |
ISC Licensed
FAQs
a react native module developped by volkeno
We found that @volkenomakers/progress-steps demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).