UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

37 lines 1.19 kB
define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getStyles = function (props) { var className = props.className, theme = props.theme; var palette = theme.palette; return { root: [ 'ms-CommandBar', { display: 'flex', backgroundColor: palette.neutralLighter, padding: '0 16px', height: '40px' }, className ], primarySet: [ 'ms-CommandBar-primaryCommand', { flexGrow: '1', display: 'flex', alignItems: 'stretch' } ], secondarySet: [ 'ms-CommandBar-secondaryCommand', { flexShrink: '0', display: 'flex', alignItems: 'stretch' } ] }; }; }); //# sourceMappingURL=CommandBar.styles.js.map