This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useEffect } from 'react'; | |
import { Form, Image, ProgressBar } from 'react-bootstrap'; | |
import { firebase } from '../../services/firebase'; | |
import { v4 as uuidv4 } from 'uuid'; | |
const ImageUpload = ({ onUpload, rootPath }) => { | |
const [imagePath, setImagePath] = useState(null); | |
const [imageUploadProgress, setImageUploadProgress] = useState(0); | |
useEffect(() => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PropTypes from "prop-types"; | |
import React, { useEffect, useState } from "react"; | |
import { Container, Pagination, Table } from "react-bootstrap"; | |
import "./TableComponent.scss"; | |
/** | |
* | |
* @param onRowSelect : When User clicks on a Row, send event back to parrent component with Row data | |
* @param rows : Array of Row Data | |
* @param cols : Array of Col Data |
OlderNewer