@uifabric/experiments
Version:
Experimental React components for building experiences for Microsoft 365.
32 lines • 1.05 kB
JavaScript
import { getGlobalClassNames, getTheme } from '@uifabric/styling';
var GlobalClassNames = {
root: 'ms-FloatingSuggestions',
callout: 'ms-FloatingSuggestions-callout',
};
export var getStyles = function (props) {
var _a;
var theme = getTheme();
if (!theme) {
throw new Error('theme is undefined or null in Editing item getStyles function.');
}
// const { semanticColors } = theme;
var classNames = getGlobalClassNames(GlobalClassNames, theme);
return {
root: [classNames.root, {}],
callout: [
classNames.callout,
{
selectors: (_a = {},
_a['.ms-FloatingSuggestionsItem-itemButton'] = {
padding: '0px',
border: 'none',
},
_a['.ms-FloatingSuggestionsList'] = {
minWidth: '260px',
},
_a),
},
],
};
};
//# sourceMappingURL=FloatingSuggestions.styles.js.map