office-ui-fabric-react
Version:
Reusable React components for building experiences for Microsoft 365.
26 lines • 951 B
JavaScript
define(["require", "exports", "../../../Styling"], function (require, exports, Styling_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var GlobalClassNames = {
suggestionTextOverflow: 'ms-TagItem-TextOverflow',
};
function getStyles(props) {
var className = props.className, theme = props.theme;
var classNames = Styling_1.getGlobalClassNames(GlobalClassNames, theme);
return {
suggestionTextOverflow: [
classNames.suggestionTextOverflow,
{
overflow: 'hidden',
textOverflow: 'ellipsis',
maxWidth: '60vw',
padding: '6px 12px 7px',
whiteSpace: 'nowrap',
},
className,
],
};
}
exports.getStyles = getStyles;
});
//# sourceMappingURL=TagItemSuggestion.styles.js.map