initial commit

This commit is contained in:
2022-11-11 17:03:31 +07:00
commit 065551deb3
85 changed files with 16767 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import React from 'react';
import Sheet from "react-modal-sheet";
const BottomSheet = ({onOpen, onClose, children}) => {
return (
<Sheet isOpen={onOpen} onClose={onClose} snapPoints={[400]} className={'flex justify-center'}>
<Sheet.Container>
<Sheet.Header/>
<Sheet.Content>
{children}
</Sheet.Content>
</Sheet.Container>
<Sheet.Backdrop/>
</Sheet>
)
}
export default BottomSheet;