UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

17 lines 937 B
define(["require", "exports", "react", "../../Utilities", "./Check.base", "./Check.styles"], function (require, exports, React, Utilities_1, Check_base_1, Check_styles_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Check = Utilities_1.styled(Check_base_1.CheckBase, Check_styles_1.getStyles, undefined, { scope: 'Check' }, true); /** * Memoized helper for rendering a Check. Always uses fast icons. * @param theme - Theme, so the check can be re-rendered if it changes. * @param checked - Whether the check is checked. * @param className - Class name for styling the check. */ exports.getCheck = Utilities_1.memoizeFunction(function (theme, checked, className) { return React.createElement(exports.Check, { theme: theme, checked: checked, className: className, useFastIcons: true }); }); }); //# sourceMappingURL=Check.js.map