blob: 6182ca6405097343d170d458e69c0ab7aec791d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
const Import = ({action, setAction}) => {
return (
<section>
<div className='window__submenu'>
<div onClick={() => { setAction('') }}>Back</div>
<div>From txt</div>
<div>From JSON</div>
</div>
<style jsx>{`
section {
background: white;
padding: 1rem;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
animation: fade-in .3s;
}
`}</style>
</section>
)
}
export default Import
|