UNPKG

@fluentui/react

Version:

Reusable React components for building web experiences.

26 lines 956 B
define(["require", "exports", "../../../Styling"], function (require, exports, Styling_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getStyles = getStyles; 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