Home Reference Source Repository
import ComponentUpload from 'learnenergy401/component/ComponentUpload.js'
public class | source

ComponentUpload

Extends:

react~Component → ComponentUpload

Method Summary

Public Methods
public

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:

NameTypeAttributeDescription
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