Skip to content

Instantly share code, notes, and snippets.

View seanconnelly34's full-sized avatar

seanconnelly34

View GitHub Profile
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;
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;
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;
// 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,
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";
import React from "react"
import { Checkbox } from "antd"
class CheckBox extends React.Component {
render() {
return <Checkbox checked={this.props.checked} />
}
}
export default CheckBox
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"
import React, { useEffect, useRef } from "react"
import G6 from "@antv/g6"
const data = {
nodes: [
{
id: "1",
dataType: "alps",
name: "alps_file1",
conf: [
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;
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");