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, { Component } from "react"; | |
import { withRouter, Link, Route } from "react-router-dom"; | |
import share from "../../../assets/img/folderActions/share.svg"; | |
import download from "../../../assets/img/folderActions/download.svg"; | |
import dots from "../../../assets/img/folderActions/dots.svg"; | |
import "./styles.scss"; | |
import folder from "./folder.svg"; | |
type FileInfo = { | |
name: string; |
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, { Component } from "react"; | |
import { RouteComponentProps, withRouter } from "react-router-dom"; | |
import Folder from "./Folder/index"; | |
import File from "./File/index"; | |
import { Card, CardBody } from "reactstrap"; | |
import "./styles.scss"; | |
type FileInfo = { | |
name: string; | |
modified: string; |
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, { Component } from "react"; | |
import { RouteComponentProps, withRouter } from "react-router-dom"; | |
import Folder from "./Folder/index"; | |
import File from "./File/index"; | |
import { Card, CardBody } from "reactstrap"; | |
import "./styles.scss"; | |
type FileInfo = { | |
name: string; | |
modified: string; |
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
// react component used to create sweet alerts | |
import SweetAlert from "react-bootstrap-sweetalert"; | |
class CreateFolder extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
alert: null, |
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 from "react"; | |
// reactstrap components | |
import ReactTable from "../Tables/ReactTable.jsx"; | |
import { Card, CardBody, Row, Col } from "reactstrap"; | |
import SingleProject from "../../components/Project"; | |
import ProjectProfile from "../../components/ProjectProfile"; | |
import { Route } from "react-router-dom"; | |
import "./styles.scss"; | |
import { connect } from "react-redux"; |
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 from "react" | |
import { Checkbox } from "antd" | |
class CheckBox extends React.Component { | |
render() { | |
return <Checkbox checked={this.props.checked} /> | |
} | |
} | |
export default CheckBox |
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 axios from "axios" | |
import { Checkbox, Button } from "antd" | |
import "./styles.scss" | |
import { data } from "./data.js" | |
import DisplayResults from "../DisplayResults" |
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, { useEffect, useRef } from "react" | |
import G6 from "@antv/g6" | |
const data = { | |
nodes: [ | |
{ | |
id: "1", | |
dataType: "alps", | |
name: "alps_file1", | |
conf: [ |
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
const express = require("express"); | |
require("./db/mongoose"); | |
const User = require("./models/user"); | |
const Task = require("./models/task"); | |
const app = express(); | |
//heroku deployment port, otherwise locally use 3000 | |
const port = process.env.PORT || 3000; |
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 } from "react"; | |
import { Formik, Field, Form, ErrorMessage } from "formik"; | |
import * as Yup from "yup"; | |
const Registration = () => { | |
const [state, setState] = useState({ fullName: "", email: "" }); | |
// const sendEmail = (e) => { | |
// e.preventDefault(); | |
// console.log("sending emails"); |
OlderNewer