Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup hotfix: Modify ModalLayout #11

Merged
merged 2 commits into from
May 27, 2024
Merged

Setup hotfix: Modify ModalLayout #11

merged 2 commits into from
May 27, 2024

Conversation

pnv2003
Copy link
Member

@pnv2003 pnv2003 commented May 27, 2024

You can use ModalLayout to create a full-screen modal. Remember to wrap it inside a Portal, because it is literally a Modal.

<ModalLayout modalVisible={...} setModalVisible={...}>
    <Appbar.Header>
        {/* YOUR APPBAR HERE*/}
    </Appbar.Header>
    <ScrollView> {/* or View */}
        {/* YOUR MODAL CONTENT */}
    </ScrollView>
</ModalLayout>

@pnv2003 pnv2003 merged commit 1521331 into N3Mobile:master May 27, 2024
1 check failed
@pnv2003 pnv2003 added bug Something isn't working invalid This doesn't seem right and removed bug Something isn't working invalid This doesn't seem right labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant