diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-10-11 20:50:51 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-10-11 20:50:51 +0200 |
commit | b75598d879e1b9153d89a96f7b0f66ad8d641f71 (patch) | |
tree | c561ba8ca01a9f666688659b4d8ca631448da860 /pages/slidetest.tsx | |
parent | 256ce2c5c0617d3f59817a4c6308161ce22c7ba2 (diff) |
feat(preview): tag display and scroll fix
Diffstat (limited to 'pages/slidetest.tsx')
-rw-r--r-- | pages/slidetest.tsx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/pages/slidetest.tsx b/pages/slidetest.tsx deleted file mode 100644 index ca39cf9..0000000 --- a/pages/slidetest.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import React from 'react' -import { Box, Button, Flex, Slide, useDisclosure } from '@chakra-ui/react' -import { Collapse } from '../components/Sidebar/Collapse' - -export default function Test() { - const { isOpen, onClose, onOpen, onToggle } = useDisclosure() - return ( - <> - <Button onClick={onToggle}>togg</Button> - <Flex flexDirection="row" justifyContent="space-between" w="100vw"> - <Box color="blue.500" width="100%"> - a - </Box> - <Collapse - animateOpacity={false} - dimension="width" - in={isOpen} - //style={{ position: 'relative' }} - unmountOnExit - endingSize={500} - startingSize={0} - > - <Box height="100vh" bgColor="red.500"> - Hey - </Box> - </Collapse> - </Flex> - </> - ) -} |