Skip to content

Commit cee0915

Browse files
docs(PopoutWrapper): add Card (#9479)
Co-authored-by: Inomdzhon Mirdzhamolov <i.mirdzhamolov@vk.team>
1 parent b97a94b commit cee0915

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

website/content/components/popout-wrapper.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ return (
2525
<Button onClick={() => setIsOpen(true)}>Открыть окно</Button>
2626
{isOpen && (
2727
<PopoutWrapper onClick={() => setIsOpen(false)}>
28-
<Div>
29-
<Title>Всплывающее окно</Title>
30-
<Text>Содержимое всплывающего окна</Text>
31-
</Div>
28+
<Card>
29+
<Box padding="system">
30+
<Title>Всплывающее окно</Title>
31+
<Text>Содержимое всплывающего окна</Text>
32+
</Box>
33+
</Card>
3234
</PopoutWrapper>
3335
)}
3436
</>

0 commit comments

Comments
 (0)