cal.pub0.org/pages/sandbox/form.tsx

23 lines
494 B
TypeScript
Raw Normal View History

2021-10-12 09:35:44 +00:00
import React from "react";
import { Label, Input, TextField } from "@components/form/fields";
import { sandboxPage } from ".";
const page = sandboxPage(() => (
<div className="p-4 space-y-6">
<div>
<Label>Label</Label>
</div>
<div>
<Input placeholder="Input" />
</div>
<div>
<TextField label="TextField" placeholder="it has an input baked in" />
</div>
</div>
));
export default page.default;
export const getStaticProps = page.getStaticProps;