ComponentUpload
Extends:
react~Component → ComponentUpload
Method Summary
| Public Methods | ||
| public |
handleFileSelect(evt: object) grabs the filename, file and metadata: then uploads to firebase |
|
| public |
render(): html Loads the card interface for the vendor |
|
Public Methods
public handleFileSelect(evt: object) source
grabs the filename, file and metadata: then uploads to firebase
Params:
| Name | Type | Attribute | Description |
| evt | object | handles the event when onClick is pressed |
public render(): html source
Loads the card interface for the vendor
Return:
| html | returns button and file |