Skip to content

Commit c21e695

Browse files
marissahuysentruytcastastrophe
authored andcommitted
docs(dialog): use isOpen shared state in controls (#3562)
1 parent e7a7d25 commit c21e695

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/dialog/stories/dialog.stories.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { withUnderlayWrapper } from "@spectrum-css/preview/decorators";
22
import { disableDefaultModes } from "@spectrum-css/preview/modes";
3-
import { size } from "@spectrum-css/preview/types";
3+
import { isOpen, size } from "@spectrum-css/preview/types";
44
import { Template as Table } from "@spectrum-css/table/stories/template.js";
55
import { Template as Steplist } from "@spectrum-css/steplist/stories/template.js";
66
import { Template as Typography } from "@spectrum-css/typography/stories/template.js";
@@ -54,6 +54,7 @@ export default {
5454
},
5555
control: "boolean",
5656
},
57+
isOpen,
5758
footer: {
5859
name: "Footer text",
5960
description: "Text content of the dialog footer. Represents the checkbox label if a checkbox is present, or stands alone if there is no checkbox. Currently only supported in the default layout.",

0 commit comments

Comments
 (0)