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