@brijen/react-native-multistep
Version:
A lightweight multi-step view component for React Native with smooth transitions using Reanimated.
29 lines (27 loc) • 606 B
JavaScript
;
import { View } from 'react-native';
import { jsx as _jsx } from "react/jsx-runtime";
/**
* Represents a single step in a multi-step process.
* Can display a title, a custom title component, and any child content.
*
* @example
* ```tsx
* <Step title="Step 1">
* <Text>Content for step 1</Text>
* </Step>
* ```
*/
const Step = props => {
const {
children,
stepContainerStyle
} = props;
return /*#__PURE__*/_jsx(View, {
style: stepContainerStyle,
testID: "step-container",
children: children
});
};
export default Step;
//# sourceMappingURL=Step.js.map