UNPKG

@pnp/spfx-controls-react

Version:

Reusable React controls for SharePoint Framework solutions

25 lines 825 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getStyles = getStyles; var Styling_1 = require("@fluentui/react/lib/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=TermItemSuggestion.styles.js.map