diff options
Diffstat (limited to 'apps/Notes/components/Import.js')
-rw-r--r-- | apps/Notes/components/Import.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/apps/Notes/components/Import.js b/apps/Notes/components/Import.js new file mode 100644 index 0000000..6182ca6 --- /dev/null +++ b/apps/Notes/components/Import.js @@ -0,0 +1,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 |