FileForm.tsx 354 Bytes
Newer Older
Jiwon Yoon's avatar
Jiwon Yoon committed
1
import React from "react";
Yoon, Daeki's avatar
Yoon, Daeki committed
2
import { IFile } from "../types";
3
4

type Props = {
Yoon, Daeki's avatar
Yoon, Daeki committed
5
  element: IFile;
Yoon, Daeki's avatar
Yoon, Daeki committed
6
  isEditing: boolean;
7
8
};

Yoon, Daeki's avatar
Yoon, Daeki committed
9
export const FileForm = ({ element, isEditing: save }: Props) => {
10
  return (
Jiwon Yoon's avatar
Jiwon Yoon committed
11
12
    <div id="content" className="flex mt-4 w-full justify-center">
      <input type="file" className=" w-11/12 h-16" disabled></input>
13
14
15
    </div>
  );
};