Files
AFFiNE-Mirror/packages/frontend/component/src/ui/modal/index.ts
T
CatsJuice b369ee0cca feat(mobile): disable swipe back gesture when there is no back in header (#8876)
close AF-1663, AF-1756

- new global `ModalConfigContext`
- new logic to judge whether inside modal
- render `✕` for PageHeader back if inside modal
- only enable `NavigationGesture` when there is `<` in PageHeader
2024-11-25 03:12:21 +00:00

6 lines
150 B
TypeScript

export * from './confirm-modal';
export * from './context';
export * from './modal';
export * from './overlay-modal';
export * from './prompt-modal';