import React from 'react' import {View} from 'react-native' import {atoms as a} from '#/alf' import {Button} from '#/components/Button' import {H3, P} from '#/components/Typography' import * as Dialog from '#/components/Dialog' import * as Prompt from '#/components/Prompt' import {useDialogStateControlContext} from '#/state/dialogs' export function Dialogs() { const scrollable = Dialog.useDialogControl() const basic = Dialog.useDialogControl() const prompt = Prompt.usePromptControl() const {closeAllDialogs} = useDialogStateControlContext() return ( This is a prompt This is a generic prompt component. It accepts a title and a description, as well as two actions. Cancel Confirm

Dialog

A basic dialog

Dialog

A scrollable dialog with an input within it.

{}} label="Type here" />
) }