UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

13 lines 939 B
define(["require", "exports", "react", "office-ui-fabric-react"], function (require, exports, React, office_ui_fabric_react_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // Example formatting var stackTokens = { childrenGap: 40 }; exports.ButtonCompoundExample = function (props) { var disabled = props.disabled, checked = props.checked; return (React.createElement(office_ui_fabric_react_1.Stack, { horizontal: true, tokens: stackTokens }, React.createElement(office_ui_fabric_react_1.CompoundButton, { secondaryText: "This is the secondary text.", disabled: disabled, checked: checked }, "Standard"), React.createElement(office_ui_fabric_react_1.CompoundButton, { primary: true, secondaryText: "This is the secondary text.", disabled: disabled, checked: checked }, "Primary"))); }; }); //# sourceMappingURL=Button.Compound.Example.js.map