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.

21 lines (20 loc) 542 B
"use strict"; import { View, StyleSheet } from 'react-native'; import { DEFAULT_DARK_COLOR } from "../constants.js"; import { jsx as _jsx } from "react/jsx-runtime"; export function TextInputOTPSeparator({ separatorStyles }) { return /*#__PURE__*/_jsx(View, { style: StyleSheet.flatten([styles.separator, separatorStyles]) }); } const styles = StyleSheet.create({ separator: { width: 10, height: 4, backgroundColor: DEFAULT_DARK_COLOR, borderRadius: 15 } }); //# sourceMappingURL=text-input-otp-separator.js.map