primevue-mirror/components/lib/inputotp/style/InputOtpStyle.js

26 lines
392 B
JavaScript

import BaseStyle from 'primevue/base/style';
const theme = ({ dt }) => `
.p-inputotp {
display: flex;
align-items: center;
gap: 0.5rem;
}
.p-inputotp-input {
text-align: center;
width: 2.5rem;
}
`;
const classes = {
root: 'p-inputotp p-component',
input: 'p-inputotp-input'
};
export default BaseStyle.extend({
name: 'inputotp',
theme,
classes
});