Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<Heading /> not rendered inside <Tailwind /> #1405

Closed
piotr-gajda opened this issue Apr 8, 2024 · 1 comment
Closed

<Heading /> not rendered inside <Tailwind /> #1405

piotr-gajda opened this issue Apr 8, 2024 · 1 comment
Labels
Type: Bug Confirmed bug

Comments

@piotr-gajda
Copy link

Describe the Bug


const Example = () => (
  <Html>
    <Tailwind>
      <Body>
          <Heading >test heading</Heading>
          <Button>test button</Button>
      </Body>
    </Tailwind>
  </Html>
);

export default Example;

doesn't render heading


const Example = () => (
  <Html>
      <Body>
          <Heading >test heading</Heading>
          <Button>test button</Button>
      </Body>
  </Html>
);

export default Example;

does render heading. spotted after latest version bump

Which package is affected (leave empty if unsure)

@react-email/tailwind

Link to the code that reproduces this issue

in description

To Reproduce

copy paste code in description

Expected Behavior

heading can be rendered inside tailwind

What's your node version? (if relevant)

No response

@piotr-gajda piotr-gajda added the Type: Bug Confirmed bug label Apr 8, 2024
@gabrielmfern
Copy link
Collaborator

Closing as a duplicate of #1391.

It should be working under @react-email/tailwind 0.0.16-canary.1.

@gabrielmfern gabrielmfern closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Confirmed bug
Projects
None yet
Development

No branches or pull requests

2 participants