UNPKG

@coreui/vue-pro

Version:

UI Components Library for Vue.js

21 lines (19 loc) 459 B
import { defineComponent, h } from 'vue' const COneTimePasswordInput = defineComponent({ name: 'COneTimePasswordInput', inheritAttrs: false, setup(_, { attrs, slots }) { return () => h( 'input', { ...attrs, class: ['form-otp-control', attrs.class], maxlength: 1, autocomplete: 'off', }, slots.default && slots.default(), ) }, }) export { COneTimePasswordInput }