Module components/modals/AddContentModal
Functions
default
- default(__namedParameters: { onAdd: (content: Pick<default, "name"> & Partial<default>) => any; pending: boolean; setVisible: (newVisible: boolean) => void; visible: boolean }): Element
-
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
-
visible: boolean
Returns Element
Modal that lets user enter information about an item they found and add it to the app.