Skip to content

Commit

Permalink
fix(web): fix BaseButton import artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmfern committed Oct 1, 2024
1 parent 73da7da commit b792358
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions apps/web/components/single-button/inline-styles.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Button as BaseButton } from "@react-email/components";
import { Button } from "@react-email/components";
import { Layout } from "../_components/layout";

export const component = (
<BaseButton
<Button
href="https://react.email"
style={{
width: "100%",
Expand All @@ -16,7 +16,7 @@ export const component = (
}}
>
Get started
</BaseButton>
</Button>
);

export default () => {
Expand Down
6 changes: 3 additions & 3 deletions apps/web/components/single-button/tailwind.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Button as BaseButton } from "@react-email/components";
import { Button } from "@react-email/components";
import { Layout } from "../_components/layout";

export const component = (
<BaseButton
<Button
className="box-border w-full rounded-[8px] bg-indigo-600 px-[12px] py-[12px] text-center font-semibold text-white"
href="https://react.email"
>
Get started
</BaseButton>
</Button>
);

export default () => {
Expand Down

1 comment on commit b792358

@vercel
Copy link

@vercel vercel bot commented on b792358 Oct 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-email-demo – ./apps/demo

react-email-demo.vercel.app
react-email-demo-git-main-resend.vercel.app
react-email-demo-resend.vercel.app
demo.react.email

Please sign in to comment.