text: webpackJsonp([25],{186:function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"attributes",function(){return p});var o=n(0),c=n.n(o),s=n(58),i=n(218),u=n(220),m=(n.n(u),function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}()),p={},f=function(e){function t(e){a(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={},n}return l(t,e),m(t,[{key:"render",value:function(){return c.a.createElement("div",null,c.a.createElement("h1",null,"Fabs"),c.a.createElement("ul",null,c.a.createElement("li",null,"Module ",c.a.createElement("strong",null,"@srmwc/fab")),c.a.createElement("li",null,"Import styles:",c.a.createElement("ul",null,c.a.createElement("li",null,"import ",c.a.createElement("strong",null,"'@material/fab/dist/mdc.fab.css'"),";"))),c.a.createElement("li",null,"MDC Docs:",c.a.createElement("a",{href:"https://material.io/develop/web/components/buttons/floating-action-buttons/"},"https://material.io/develop/web/components/buttons/floating-action-buttons/"))),c.a.createElement("div",{className:"example render-with-code"},c.a.createElement("div",{className:"run"},c.a.createElement(s.a,{icon:"favorite"}),c.a.createElement(s.a,{icon:"favorite",mini:!0}),c.a.createElement(s.a,{icon:"favorite",label:"Love It!"})),c.a.createElement("div",{className:"source"},c.a.createElement("pre",{className:"language-jsx"},c.a.createElement("code",{className:"language-jsx"},c.a.createElement("span",{className:"token keyword"},"import")," ",c.a.createElement("span",{className:"token punctuation"},"{")," Fab ",c.a.createElement("span",{className:"token punctuation"},"}")," ",c.a.createElement("span",{className:"token keyword"},"from")," ",c.a.createElement("span",{className:"token string"},"'@srmwc/fab'"),c.a.createElement("span",{className:"token punctuation"},";"),"\n","\n",c.a.createElement("span",{className:"token tag"},c.a.createElement("span",{className:"token tag"},c.a.createElement("span",{className:"token punctuation"},"<"),"Fab")," ",c.a.createElement("span",{className:"token attr-name"},"icon"),c.a.createElement("span",{className:"token attr-value"},c.a.createElement("span",{className:"token punctuation"},"="),c.a.createElement("span",{className:"token punctuation"},'"'),"favorite",c.a.createElement("span",{className:"token punctuation"},'"'))," ",c.a.createElement("span",{className:"token punctuation"},"/>")),"\n",c.a.createElement("span",{className:"token tag"},c.a.createElement("span",{className:"token tag"},c.a.createElement("span",{className:"token punctuation"},"<"),"Fab")," ",c.a.createElement("span",{className:"token attr-name"},"icon"),c.a.createElement("span",{className:"token attr-value"},c.a.createElement("span",{className:"token punctuation"},"="),c.a.createElement("span",{className:"token punctuation"},'"'),"favorite",c.a.createElement("span",{className:"token punctuation"},'"'))," ",c.a.createElement("span",{className:"token attr-name"},"mini")," ",c.a.createElement("span",{className:"token punctuation"},"/>")),"\n",c.a.createElement("span",{className:"token tag"},c.a.createElement("span",{className:"token tag"},c.a.createElement("span",{className:"token punctuation"},"<"),"Fab")," ",c.a.createElement("span",{className:"token attr-name"},"icon"),c.a.createElement("span",{className:"token attr-value"},c.a.createElement("span",{className:"token punctuation"},"="),c.a.createElement("span",{className:"token punctuation"},'"'),"favorite",c.a.createElement("span",{className:"token punctuation"},'"'))," ",c.a.createElement("span",{className:"token attr-name"},"label"),c.a.createElement("span",{className:"token attr-value"},c.a.createElement("span",{className:"token punctuation"},"="),c.a.createElement("span",{className:"token punctuation"},'"'),"Love")," ",c.a.createElement("span",{className:"token attr-name"},'It!"')," ",c.a.createElement("span",{className:"token punctuation"},"/>")),"\n")))),c.a.createElement("div",{className:"example render-only"},c.a.createElement("div",{className:"run"},c.a.createElement(i.a,{docs:u,displayName:"Fab",composes:["Icon"]}))))}}]),t}(c.a.Component);t.default=f},218:function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return u});var c=n(0),s=(n.n(c),function(){function e(e,t){var n=[],a=!0,r=!1,l=void 0;try{for(var o,c=e[Symbol.iterator]();!(a=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&c.return&&c.return()}finally{if(r)throw l}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),u=function(e){function t(e){r(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.flatDocs=Object.values(e.docs).reduce(function(e,t){return e.concat(t)},[]),n}return o(t,e),i(t,[{key:"findDocDef",value:function(e){return this.flatDocs.find(function(t){return t.displayName===e})}},{key:"renderRaw",value:function(e){return e.split("\n").map(function(e,t){return c.createElement(c.Fragment,{key:t},0!==t&&c.createElement("br",null),e.split("  ").map(function(e,t){return c.createElement(c.Fragment,{key:t},0!==t&&c.createElement(c.Fragment,null,"\xa0\xa0"),e)}))})}},{key:"getComposedDefs",value:function(e){var t=this;return e.map(function(e){return t.findDocDef(e)}).filter(Boolean).reduce(function(e,t){return Object.assign({},t,e,{props:t.props||e.props?Object.assign({},t.props||{},e.props||{}):null})},{})}},{key:"render",value:function(){var e=this,t=this.props,n=t.displayName,r=t.composes,l=void 0===r?[]:r,o=this.getComposedDefs([n].concat(a(l)));return c.createElement("div",{className:"document-component"},c.createElement("h2",null,n),o&&!!o.description&&c.createElement("p",null,o.description),o&&o.props&&c.createElement("div",null,c.createElement("h3",null,"Props"),c.createElement("table",null,c.createElement("thead",null,c.createElement("tr",null,c.createElement("th",null,"Name"),c.createElement("th",null,"Type"),c.createElement("th",null,"Default"),c.createElement("th",null,"Description"))),c.createElement("tbody",null,Object.entries(o.props).map(function(t,n){var a=s(t,2),r=a[0],l=a[1];return c.createElement("tr",{key:n},c.createElement("td",{className:l.required?"required":""},c.createElement("code",null,r)),c.createElement("td",null,c.createElement("code",null,l.flowType&&e.renderRaw(l.flowType.raw||l.flowType.name||""))),c.createElement("td",null,l.defaultValue?c.createElement("code",null,l.defaultValue.value):c.createElement("code",null,"undefined")),c.createElement("td",null,l.description||""))})))))}}]),t}(c.Component)},220:function(e,t){e.exports=[{description:"",displayName:"FabIcon",methods:[]},{description:"",displayName:"FabLabel",methods:[]},{description:"A floating action button component",displayName:"Fab",methods:[],props:{mini:{flowType:{name:"boolean"},required:!1,description:"Make the Fab smaller."},label:{flowType:{name:"ReactNode",raw:"React.Node"},required:!1,description:"Make the Fab extended with a label."},exited:{flowType:{name:"boolean"},required:!1,description:"Animates the FAB out of view. When this class is removed, the FAB will return to view."},ripple:{flowType:{name:"boolean"},required:!1,description:"Enable / disable the ripple."}},context:{RMWCOptions:{type:{name:"object"},required:!1}}}]}});
  //# sourceMappingURL=25.a16a9c31.chunk.js.map