Options
All
  • Public
  • Public/Protected
  • All
Menu

Module components/modals/AddContentModal

Index

Functions

Functions

default

  • default(__namedParameters: { onAdd: (content: Pick<default, "name"> & Partial<default>) => any; pending: boolean; setVisible: (newVisible: boolean) => void; visible: boolean }): Element
  • Modal that lets user enter information about an item they found and add it to the app.

    Parameters

    • __namedParameters: { onAdd: (content: Pick<default, "name"> & Partial<default>) => any; pending: boolean; setVisible: (newVisible: boolean) => void; visible: boolean }
      • onAdd: (content: Pick<default, "name"> & Partial<default>) => any
      • pending: boolean
      • setVisible: (newVisible: boolean) => void
          • (newVisible: boolean): void
          • Parameters

            • newVisible: boolean

            Returns void

      • visible: boolean

    Returns Element

Generated using TypeDoc