UNPKG

@teamsparta/stack-icons

Version:
2 lines (1 loc) 1.7 kB
"use strict";var w=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var x=(h,t)=>{for(var e in t)w(h,e,{get:t[e],enumerable:!0})},L=(h,t,e,k)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of g(t))!v.call(h,i)&&i!==e&&w(h,i,{get:()=>t[i],enumerable:!(k=u(t,i))||k.enumerable});return h};var d=h=>L(w({},"__esModule",{value:!0}),h);var W={};x(W,{CheckboxFill:()=>f});module.exports=d(W);var s=require("@teamsparta/stack-tokens"),n=require("react/jsx-runtime");function f({size:h,primaryColor:t,secondaryColor:e}){switch(h){case 16:return(0,n.jsx)("div",{children:"\uC774\uBBF8\uC9C0\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."});case 20:return(0,n.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"3.33331",y:"3.33331",width:"13.3333",height:"13.3333",rx:"2",fill:t!=null?t:s.vars.neutral[90],stroke:t!=null?t:s.vars.neutral[90],strokeWidth:"1.75"}),(0,n.jsx)("path",{d:"M6.8327 10.2727L8.91604 12.1667L13.4994 8",stroke:e!=null?e:s.vars.neutral[0],strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]});case 24:return(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",fill:t!=null?t:s.vars.neutral[90],stroke:t!=null?t:s.vars.neutral[90],strokeWidth:"2",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M8.19922 12.3273L10.6992 14.6L16.1992 9.60001",stroke:e!=null?e:s.vars.neutral[0],strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}}0&&(module.exports={CheckboxFill});