UNPKG

react-native-input-code-otp

Version:

react-native-input-code-otp is a high-performance and fully customizable OTP input component for React Native, inspired by @shadcn/ui.

25 lines (24 loc) 706 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TextInputOTPSeparator = TextInputOTPSeparator; var _reactNative = require("react-native"); var _constants = require("../constants.js"); var _jsxRuntime = require("react/jsx-runtime"); function TextInputOTPSeparator({ separatorStyles }) { return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, { style: _reactNative.StyleSheet.flatten([styles.separator, separatorStyles]) }); } const styles = _reactNative.StyleSheet.create({ separator: { width: 10, height: 4, backgroundColor: _constants.DEFAULT_DARK_COLOR, borderRadius: 15 } }); //# sourceMappingURL=text-input-otp-separator.js.map