UNPKG

@anoki/fse-ui

Version:

FSE UI components library

3 lines (2 loc) 1.01 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs237.js"),c=require("./index.cjs239.js"),x=require("./index.cjs310.js"),d=({width:l=24,height:t=24,className:o,color:i="primary",filled:a,decorative:s=!1,ariaLabel:n="Favorite",onClick:r})=>{const u=x.createColorClasses({color:i});return e.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:t,fill:"currentColor",viewBox:"0 0 24 24",className:c.clsx(o,u,r?"cursor-pointer":""),"aria-hidden":s,"aria-label":s?void 0:n,onClick:r,children:a?e.jsxRuntimeExports.jsx("path",{d:"M12 1.7l2.5 7.5h7.9L16 13.9l2.4 7.6-6.4-4.7-6.4 4.7L8 13.9 1.6 9.2h7.9z"}):e.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",d:"M9.5 9.2 12 1.7l2.5 7.5h7.9L16 13.9l2.4 7.6-6.4-4.7-6.4 4.7L8 13.9 1.6 9.2zm4 .3L12 4.9l-1.5 4.6-.2.7H4.6l4 2.9.6.4-.2.7-1.5 4.7 3.9-2.9.6-.4.6.4 3.9 2.9-1.5-4.7-.2-.7.6-.4 4-2.9h-5.7z",clipRule:"evenodd"})})};exports.Favourite=d; //# sourceMappingURL=index.cjs198.js.map