React Native Modalfy
v2.x
v2.x
  • Getting started
  • Installation
  • Guides
    • Creating a stack
    • Opening & closing
    • Passing params
    • Type checking with TypeScript
    • Subscribing to events
    • Using outside React
    • Upgrading from v1.x
  • API Reference
    • Types
      • ModalStackConfig
      • ModalOptions
      • ModalProp
      • ModalComponentProp
      • ModalComponentWithOptions
    • ModalProvider
    • createModalStack
    • useModal
    • withModal
    • modalfy
  • Blog
    • Announcing Modalfy v2
    • Stacks on stacks in React Native
    • Introducing a Modal Citizen
  • Others
    • Help
    • Contributing
    • Changelog
    • Github
Powered by GitBook
On this page

Was this helpful?

  1. API Reference
  2. Types

ModalStackConfig

PreviousTypesNextModalOptions

Last updated 4 years ago

Was this helpful?

Interface of the modal stack configuration. These settings will let Modalfy know what modals you will be rendering and how.

interface ModalStackConfig {
  [key: string]: React.ComponentType<any> | ModalOptions
}
https://github.com/colorfy-software/react-native-modalfy/blob/master/types.ts#L200