office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
15 lines • 904 B
JavaScript
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 });
var emojiIcon = { iconName: 'Emoji2' };
exports.ButtonIconExample = function (props) {
var disabled = props.disabled, checked = props.checked;
return (React.createElement("div", null,
React.createElement(office_ui_fabric_react_1.IconButton, { iconProps: emojiIcon, title: "Emoji", ariaLabel: "Emoji", disabled: disabled, checked: checked }),
React.createElement("p", null,
"For a list of Icons, visit our ",
React.createElement("a", { href: "https://developer.microsoft.com/en-us/fabric#/styles/icons" }, "Icon documentation"),
".")));
};
});
//# sourceMappingURL=Button.Icon.Example.js.map