mirror of
https://github.com/Kizuren/SauceKudasai.git
synced 2025-12-21 21:16:15 +01:00
Initial commit
This commit is contained in:
commit
880a5e58cc
51 changed files with 37278 additions and 0 deletions
21
src/Components/Fileupload/Fileupload.js
Normal file
21
src/Components/Fileupload/Fileupload.js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/** @format */
|
||||
import { useState } from 'react';
|
||||
import Searchbtn from '../Ui/Searchbtn';
|
||||
import Dropzone from './DropZone/DropZone';
|
||||
import { Container } from './Fileuploadstyle';
|
||||
|
||||
export const Fileupload = () => {
|
||||
const [showurl, setShowurl] = useState(false);
|
||||
const toggleurl = () => {
|
||||
setShowurl(prevstate => !prevstate);
|
||||
};
|
||||
|
||||
return (
|
||||
<Container>
|
||||
<Dropzone showurl={showurl} toggleurl={toggleurl} />
|
||||
<Searchbtn />
|
||||
</Container>
|
||||
);
|
||||
};
|
||||
|
||||
export default Fileupload;
|
||||
Loading…
Add table
Add a link
Reference in a new issue