import React, { Component } from "react"; import Router from "next/router"; import Link from "next/link"; import Select from "react-select"; import Scrollable from "@/components/Common/Scrollable"; import ContentWrapper from "@/components/Layout/ContentWrapper"; import { Row, Col, Card, CardHeader, CardBody, FormGroup, FormFeedback, FormText, Label, InputGroup, InputGroupAddon, InputGroupButtonDropdown, InputGroupText, Input, Button, DropdownToggle, DropdownMenu, CustomInput, DropdownItem, } from "reactstrap"; let Dropzone = null; class DropzoneWrapper extends Component { state = { isClient: false, }; componentDidMount = () => { Dropzone = require("react-dropzone").default; this.setState({ isClient: true }); }; render() { return Dropzone ? {this.props.children} : null; } } const styleHeaderText = { color: "brown", }; const selectInstanceId = 1; class UploadKeberatan extends Component { constructor(props) { super(props); this.state = { selectedOption: null, files: [], }; } handleChangeSelect = (selectedOption) => { this.setState({ selectedOption }); }; onDrop = (files) => { this.setState({ files: files.map((file) => Object.assign(file, { preview: URL.createObjectURL(file), }) ), stat: "Added " + files.length + " file(s)", }); }; uploadFiles = (e) => { e.preventDefault(); e.stopPropagation(); this.setState({ stat: this.state.files.length ? "Dropzone ready to upload " + this.state.files.length + " file(s)" : "No files added.", }); }; clearFiles = (e) => { e.preventDefault(); e.stopPropagation(); this.setState({ stat: this.state.files.length ? this.state.files.length + " file(s) cleared." : "No files to clear.", }); this.setState({ files: [], }); }; render() { const { files } = this.state; const thumbs = files.map((file, index) => ( Item )); return (
Avatar

Universitas Satyagama

0742/O/1990

Jalan Kamal Raya No 2-A Cengkareng

Jawaban Permohonan Keberatan {/* Form pembuatan laporan baru v.0.1 */}
{/* */}

Detail

Order ID: 987654 Purchased On: 03/11/2015 10:10 Client Name: Addison Nichols Items: 547 Amount: $515.20 Shipment: 04/10/2015 Status
Shipped
File Pendukung
database.controller.js
baground-lg.png
picture.controller.js
applicat-diagrams.docx
database.controller.js
database.controller.js

Jawaban

{/* Deskripsi pelaporan minimum karakter 50 maksimum 200 karakter */}
{({ getRootProps, getInputProps, isDragActive }) => { return (
{this.state.files.length > 0 ? {thumbs} :
Drop files here to upload
}
); }}
{/* END card */}

Universitas Satyagama

0742/O/1990


  • www.satyagama.ac.id
  • Status Pelanggaran : Tidak Ada
); } } export default UploadKeberatan;