UNPKG

react-native-nepali-picker

Version:

Minimalist and modern Nepali-date picker with customization.🌟

76 lines (75 loc) • 1.91 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _reactNative = require("react-native"); var _jsxRuntime = require("react/jsx-runtime"); const PencilIcon = ({ height = 20, width = 10 }) => { return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, { style: { ...styles.container, height: height, width: width }, children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, { style: { height: '40%', width: '100%', borderTopStartRadius: 3, borderTopEndRadius: 3, borderWidth: 0.7 }, children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, { style: { top: '50%', width: '100%', borderWidth: 0.7 } }) }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, { style: { height: '90%', width: '100%', borderWidth: 0.7 }, children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, { style: { left: '50%', height: '100%', width: 0, borderWidth: 0.2 } }) }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, { style: { width: 0, height: 0, borderLeftWidth: 4, borderRightWidth: 4, borderBottomWidth: 0, borderStyle: 'solid', backgroundColor: 'transparent', borderLeftColor: 'transparent', borderRightColor: 'transparent', borderBottomColor: 'transparent', borderTopWidth: 8 } })] }); }; const styles = _reactNative.StyleSheet.create({ container: { transform: [{ rotate: '45deg' }], alignItems: 'center', marginHorizontal: 'auto', justifyContent: 'center' } }); var _default = exports.default = PencilIcon; //# sourceMappingURL=cIcon.js.map