office-ui-fabric-react
Version:
Reusable React components for building experiences for Microsoft 365.
35 lines • 1.15 kB
JavaScript
define(["require", "exports", "../../../Styling"], function (require, exports, Styling_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getStyles(props) {
var _a;
return {
root: [
{
position: 'absolute',
boxShadow: 'inherit',
border: 'none',
boxSizing: 'border-box',
transform: props.transform,
width: props.width,
height: props.height,
left: props.left,
top: props.top,
right: props.right,
bottom: props.bottom,
},
],
beak: {
fill: props.color,
display: 'block',
selectors: (_a = {},
_a[Styling_1.HighContrastSelector] = {
fill: 'windowtext',
},
_a),
},
};
}
exports.getStyles = getStyles;
});
//# sourceMappingURL=Beak.styles.js.map