2021-10-12 09:35:44 +00:00
|
|
|
import React from "react";
|
|
|
|
|
2022-03-16 23:36:43 +00:00
|
|
|
import { Label, Input, TextField } from "@calcom/ui/form/fields";
|
2022-10-25 10:47:03 +00:00
|
|
|
import { Segment, SegmentOption } from "@calcom/ui/v2/core";
|
2021-10-12 09:35:44 +00:00
|
|
|
|
|
|
|
import { sandboxPage } from ".";
|
|
|
|
|
|
|
|
const page = sandboxPage(() => (
|
2022-02-09 00:05:13 +00:00
|
|
|
<div className="space-y-6 p-4">
|
2021-10-12 09:35:44 +00:00
|
|
|
<div>
|
|
|
|
<Label>Label</Label>
|
|
|
|
</div>
|
|
|
|
<div>
|
2022-02-09 00:05:13 +00:00
|
|
|
<Input name="test-01" placeholder="Input" />
|
2021-10-12 09:35:44 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
2022-02-09 00:05:13 +00:00
|
|
|
<TextField name="test-02" label="TextField" placeholder="it has an input baked in" />
|
2022-10-25 10:47:03 +00:00
|
|
|
{/* Adding to sandbox cause storybook doesnt like radix tailwind :S */}
|
|
|
|
<div className="pt-4">
|
|
|
|
<Segment label="Test" value="Test">
|
|
|
|
<SegmentOption value="Test">One</SegmentOption>
|
|
|
|
<SegmentOption value="2">Two</SegmentOption>
|
|
|
|
<SegmentOption value="3">Three</SegmentOption>
|
|
|
|
<SegmentOption value="4" disabled>
|
|
|
|
Four
|
|
|
|
</SegmentOption>
|
|
|
|
</Segment>
|
|
|
|
</div>
|
2021-10-12 09:35:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
));
|
|
|
|
|
|
|
|
export default page.default;
|
|
|
|
export const getStaticProps = page.getStaticProps;
|