@uifabric/experiments
Version:
Experimental React components for building experiences for Office 365.
28 lines • 842 B
JavaScript
import { getFocusStyle } from '../../../Styling';
var baseTokens = function (props, theme) {
return {
contentPadding: '8px 0px 8px 10px'
};
};
export var SplitMenuButtonTokens = function (props, theme) { return [baseTokens]; };
export var SplitMenuButtonStyles = function (props, theme, tokens) {
return {
root: [getFocusStyle(theme)],
button: {
selectors: {
'> *': {
padding: tokens.contentPadding
}
}
},
splitDivider: {
borderColor: tokens.color,
borderRight: '1px solid',
boxSizing: 'border-box',
height: '100%',
padding: '8px 0px',
width: 1
}
};
};
//# sourceMappingURL=SplitMenuButton.styles.js.map