calcom/apps/web/pages/sandbox/form.tsx
Omar López 558897fe53
Migrates components and libs to packages (#2172)
* Migrates Dialog to ui package

* Migrates Alert to ui

* Migrate Button to ui

* UI and lib migrations

* Add missing imports

* Update Error.tsx
2022-03-16 16:36:43 -07:00

22 lines
523 B
TypeScript

import React from "react";
import { Label, Input, TextField } from "@calcom/ui/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;