mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
More changes and UI Components: Button
This commit is contained in:
9
pages/_app.tsx
Normal file
9
pages/_app.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import "@styles/global.css";
|
||||
|
||||
export default function MyApp({ Component, pageProps }) {
|
||||
return (
|
||||
<>
|
||||
<Component {...pageProps} />
|
||||
</>
|
||||
);
|
||||
}
|
@@ -1,3 +1,12 @@
|
||||
import Button from "../ui/Button";
|
||||
|
||||
export default function Home() {
|
||||
return <h1>Hello World</h1>;
|
||||
return (
|
||||
<div>
|
||||
<h1>Hello World</h1>
|
||||
<main>
|
||||
<Button>Click Me!</Button>
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user