Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | import { Box, BoxProps } from '@stacks/ui'; import React, { FC } from 'react'; interface LimitedStackingIconProps extends BoxProps { cycles: number; } export const LimitedStackingIcon: FC<LimitedStackingIconProps> = ({ cycles }) => { return ( <Box> <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48" > <path stroke="#5546FF" strokeWidth="2" d="M1 13h46v31a3 3 0 01-3 3H4a3 3 0 01-3-3V13z" /> <path stroke="#5546FF" strokeWidth="2" d="M1 13h46V8a3 3 0 00-3-3H4a3 3 0 00-3 3v5z" /> <path stroke="#5546FF" strokeLinecap="round" strokeWidth="2" d="M12 1v6M36 1v6" /> <text fill="#5546FF" x="49%" y="62%" dominantBaseline="middle" textAnchor="middle" style={{ fontFamily: 'Inter', fontWeight: 500, fontSize: '16px' }} > {cycles} </text> </svg> </Box> ); }; |