Skip to content

Bricks export whole screen as SVG by mistake #90

@donfour

Description

@donfour

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions