import {HTMLAttributes} from "react"; import {bpIconWrapper} from "./bpIconWrapper"; export const shapeConeFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCone1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphereFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphere1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCubeFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCube1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCylinderFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCylinder1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramidFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramid1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeRhombusFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeRhombus1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dHexagonFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dHexagon1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramidFilled2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramid2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dStarFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dStar1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCuboidFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCuboid1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCylinderStepsFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCylinderSteps1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeTrapeziumFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeTrapezium1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphereCutFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphereCut1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeTrapeziumFilled2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeTrapezium2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramidFilled3Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramid3Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeHourglassFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeHourglass1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCubeCutFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCubeCut1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeTorusFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeTorusIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dAbstractFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dAbstract1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCylinderFilled2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCylinder2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dPentagonFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dPentagon1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeHorseshoeFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeHorseshoe1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeStepsFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeStepsIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeHourglassFilled2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeHourglass2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dAbstractFilled2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dAbstract2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeDiamondFilled1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeDiamond1Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeDiamondFilled2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeDiamond2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeDodecahedronFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeDodecahedronIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dPlusFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dPlusIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeDiamondFilled3Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeDiamond3Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeConeFilled2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCone2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dMultiplicationFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dMultiplicationIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dAbstractFilled3Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dAbstract3Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphereSkewedFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphereSkewedIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCylinderSkewedFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCylinderSkewedIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeHorseshoeFilled2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeHorseshoe2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphereFilled2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphere2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramidFilled4Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramid4Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramidFilled5Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramid5Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeOctahedronTransparentFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeOctahedronTransparentIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCubeTransparentFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCubeTransparentIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramidTransparentFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapePyramidTransparentIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphereTransparentFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphereTransparentIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCylinderTransparentFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCylinderTransparentIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeAxesCubeFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeAxesCubeIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeAxesPyramidFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeAxesPyramidIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeAxesSphereFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeAxesSphereIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shape3dShapesIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCubeCutFilled2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeCubeCut2Icon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphereMultiFilledIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); export const shapeSphereMultiIcon = (props?: HTMLAttributes)=>bpIconWrapper( <> , 512, props); /** * Figma code * ``` * const regex = ()=>new RegExp(/\([\S\s]*)\<\/g\>/gm) * const regex2 = ()=>new RegExp(/\([\S\s]*)\<\/svg\>/gm) * * const dec = (uint8arrData)=>decodeURIComponent(escape(String.fromCharCode(...uint8arrData))) * const dec2 = (a, reg)=>reg().exec(dec(a))?.[1] * async function test(){ * const result = '' * console.log('hello') * const list = [] * await Promise.all(figma.currentPage.selection.map(async(s)=>{ * if(!s.type === 'FRAME') return; * let svg = await s.exportAsync({ * format: 'SVG', * contentsOnly: true, * svgSimplifyStroke: true, * }) * svg = (dec2(svg, regex) ?? dec2(svg, regex2))?.replace('"black"', '"currentColor"') ?? dec(svg) * svg = "<>" + svg + "" * const name = s.name.split('-').slice(1).join('-') * list.push([svg, name]) * if(s.name.includes('-Filled')){ * const name1 = s.name.replace('-Filled', '').split('-').slice(1).join('-') * const svg1 = svg.split('\n').filter(l=>!l.includes('fill="#')).join('\n') * list.push([svg1, name1]) * } * return svg * })) * const svgs = (list).map(([svg, name])=> * 'export const shape' + name.replaceAll('-', '') + 'Icon = bpIconWrapper(\n' + svg + '\n, 512);\n' * ).join('\n') * console.log(svgs) * console.log(list.map(l=>" '"+'shape-'+l[1].toLowerCase()+"': shape"+l[1].replaceAll('-', '')+'Icon,').join('\n')) * // console.log(figma.currentPage.selection) * } * test() * ``` */