@digidem/wcmc-mapeo-mobile-intro
Version:
Intro screens for Mapeo Mobile for the WCMC ICCA registration app
38 lines (30 loc) • 860 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactNative = require("react-native");
var _Markdown = _interopRequireDefault(require("./Markdown"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const InfoScreen = ({
markdownText
}) => {
return /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
style: styles.root,
contentContainerStyle: styles.inner,
bounces: true
}, (0, _Markdown.default)(markdownText));
};
var _default = InfoScreen;
exports.default = _default;
const styles = _reactNative.StyleSheet.create({
root: {
flex: 1
},
inner: {
paddingVertical: 5,
paddingHorizontal: 10
}
});
//# sourceMappingURL=IntroInfo.js.map