Svg.tsx 495 B

12345678910111213141516
  1. export default function Svg({ width = 20, height = 20, className }) {
  2. return (
  3. <svg
  4. xmlns="http://www.w3.org/2000/svg"
  5. className={className}
  6. width={width}
  7. height={height}
  8. viewBox={`0 0 ${width} ${height}`}
  9. stroke="#b8cef1"
  10. >
  11. <rect x=".5" y=".5" width={width - 1} height={height - 1} fill="#fff" rx="2" />
  12. <line x1="1" y1="1" x2={width - 1} y2={height - 1} />
  13. <line x1="1" y1={height - 1} x2={width - 1} y2="1" />
  14. </svg>
  15. );
  16. }