react-native-multistep
Version:
Create multi-step forms with ease in your React Native app
23 lines • 921 B
TypeScript
import type { StyleProp, ViewStyle } from 'react-native';
export type MultiStepFormProps = {
stepsContent: React.ReactNode[];
backButtonLabel?: string;
nextButtonLabel?: string;
doneButtonLabel?: string;
onStepChange?: (currentStep: number) => void;
onStepForward?: (currentStep: number) => void;
onStepBackward?: (currentStep: number) => void;
onComplete?: (currentStep: number) => void;
style?: StyleProp<ViewStyle>;
nextButtonStyle?: StyleProp<ViewStyle>;
previousButtonStyle?: StyleProp<ViewStyle>;
doneButtonStyle?: StyleProp<ViewStyle>;
stepsContainerStyle?: StyleProp<ViewStyle>;
activeStepStyle?: StyleProp<ViewStyle>;
inactiveStepStyle?: StyleProp<ViewStyle>;
contentContainerStyle?: StyleProp<ViewStyle>;
buttonsContainerStyle?: StyleProp<ViewStyle>;
lineColor?: string;
activeLineColor?: string;
};
//# sourceMappingURL=types.d.ts.map