Files
cal.diy/pages/sandbox/form.tsx
T
51d553559f tailwind prettier (#1646)
* tailwind prettier

* Minor fixes

* Sorts components and pages

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <[email protected]>
2022-02-09 00:05:13 +00:00

23 lines
524 B
TypeScript

import React from "react";
import { Label, Input, TextField } from "@components/form/fields";
import { sandboxPage } from ".";
const page = sandboxPage(() => (
<div className="space-y-6 p-4">
<div>
<Label>Label</Label>
</div>
<div>
<Input name="test-01" placeholder="Input" />
</div>
<div>
<TextField name="test-02" label="TextField" placeholder="it has an input baked in" />
</div>
</div>
));
export default page.default;
export const getStaticProps = page.getStaticProps;