rsnext/examples/with-mdx/components/button.js
Tim Neutkens 91144461ed
Revert "chore(examples): migrate mdx from pages router (JS) to app router (TS)" (#63704)
Reverts vercel/next.js#63646

The example changes are missing a bunch of stuff:
- Types are not added, you can see the changes required here:
https://github.com/vercel/next.js/pull/63703
- Dependencies are missing, i.e. `@types/react` `@types/node`,
`typescript` are all missing.

Reverting as CI is broken.
2024-03-26 10:18:42 +01:00

16 lines
310 B
JavaScript

export default function Button({ children }) {
return (
<button
style={{
borderRadius: "3px",
border: "1px solid black",
color: "black",
padding: "0.5em 1em",
cursor: "pointer",
fontSize: "1.1em",
}}
>
{children}
</button>
);
}