···11import { Button } from "@/components/button";
22-import { Dialog, DialogHeader, DialogFooter } from "@/components/dialog";
22+import {
33+ Dialog,
44+ DialogHeader,
55+ DialogFooter,
66+ DialogBody,
77+} from "@/components/dialog";
88+import { spacing } from "@/components/theme/spacing.stylex";
39import { Body } from "@/components/typography";
1010+import * as stylex from "@stylexjs/stylex";
411512export function Basic() {
613 return (
714 <Dialog trigger={<Button>Open Dialog</Button>}>
815 <DialogHeader>Dialog Title</DialogHeader>
99- <Body>This is the dialog content. You can put any content here.</Body>
1616+ <DialogBody>
1717+ <Body>This is the dialog content. You can put any content here.</Body>
1818+ </DialogBody>
1019 <DialogFooter>
1120 <Button variant="secondary">Cancel</Button>
1221 <Button>Confirm</Button>