@syscore/ui-library 2.0.0-beta-publish-workflow-beta.6 → 2.0.0-beta-publish-workflow-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -313,6 +313,32 @@ export const LongContentScroll: Story = {
313
313
  },
314
314
  };
315
315
 
316
+ export const Fullscreen: Story = {
317
+ render: () => {
318
+ const [open, setOpen] = useState(false);
319
+ return (
320
+ <Dialog open={open} onOpenChange={setOpen}>
321
+ <DialogTrigger asChild>
322
+ <Button
323
+ size="large"
324
+ variant="general-primary"
325
+ onClick={() => setOpen(true)}
326
+ >
327
+ Access Course
328
+ </Button>
329
+ </DialogTrigger>
330
+ <DialogContent size="fullscreen">
331
+ <iframe
332
+ title="Course"
333
+ src="about:blank"
334
+ style={{ width: "100%", height: "100%", border: 0 }}
335
+ />
336
+ </DialogContent>
337
+ </Dialog>
338
+ );
339
+ },
340
+ };
341
+
316
342
  export const WithResponsiveDrawer: Story = {
317
343
  render: () => {
318
344
  const [open, setOpen] = useState(false);