tailwindcss
Version:
A utility-first CSS framework for rapidly building custom user interfaces.
27 lines (25 loc) • 517 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
function _default() {
return function ({
addUtilities,
variants
}) {
addUtilities({
'.truncate': {
overflow: 'hidden',
'text-overflow': 'ellipsis',
'white-space': 'nowrap'
},
'.overflow-ellipsis': {
'text-overflow': 'ellipsis'
},
'.overflow-clip': {
'text-overflow': 'clip'
}
}, variants('textOverflow'));
};
}
;