bricks icon indicating copy to clipboard operation
bricks copied to clipboard

Bricks export whole screen as SVG by mistake

Open donfour opened this issue 2 years ago • 0 comments

Describe the bug When generating code for the frame div.intro-header in this Figma link: Screen Shot 2023-06-01 at 12 43 27 PM

I'm getting this code:

import React from "react";
import "./style.css";

const GeneratedComponent = () => (
  <div className="flex flex-col justify-start items-center w-[1860px] h-[620px] bg-white">
    <img
      width="1860px"
      height="842.1px"
      src="./assets/SvgAsset1.svg"
      alt="Svg Asset 1"
    />
  </div>
);

export default GeneratedComponent;

Live preview is just a black screen.

Expected behavior Should generate code as specified in the design.

donfour avatar Jun 01 '23 19:06 donfour