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

26 lines
392 B
JavaScript
Raw Normal View History

2024-02-21 18:38:16 +00:00
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;
}
`;
2024-02-21 18:38:16 +00:00
const classes = {
2024-02-22 08:52:39 +00:00
root: 'p-inputotp p-component',
2024-02-21 18:38:16 +00:00
input: 'p-inputotp-input'
};
export default BaseStyle.extend({
name: 'inputotp',
theme,
2024-02-21 18:38:16 +00:00
classes
});