Skip to content

Commit

Permalink
Revert demo
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Jun 12, 2024
1 parent ac2e3e0 commit c74352a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ import { styled } from '@mui/system';

export default function UnstyledPopoverIntroduction() {
return (
<Popover.Root open>
<PopoverPositioner>
<PopoverPopup>Content</PopoverPopup>
<Popover.Root>
<AnchorButton>Anchor</AnchorButton>
<PopoverPositioner sideOffset={8}>
<PopoverPopup>
<PopoverTitle>Popover Title</PopoverTitle>
<PopoverDescription>Popover Description</PopoverDescription>
<PopoverArrow />
</PopoverPopup>
</PopoverPositioner>
</Popover.Root>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ import { styled } from '@mui/system';

export default function UnstyledPopoverIntroduction() {
return (
<Popover.Root open>
<PopoverPositioner>
<PopoverPopup>Content</PopoverPopup>
<Popover.Root>
<AnchorButton>Anchor</AnchorButton>
<PopoverPositioner sideOffset={8}>
<PopoverPopup>
<PopoverTitle>Popover Title</PopoverTitle>
<PopoverDescription>Popover Description</PopoverDescription>
<PopoverArrow />
</PopoverPopup>
</PopoverPositioner>
</Popover.Root>
);
Expand Down

0 comments on commit c74352a

Please sign in to comment.