feat: improved settings and marketplace ui, better custom background support, fix webpack

Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
This commit is contained in:
David Ralph
2021-11-01 13:24:09 +00:00
parent 8820343628
commit 1b4b37d4b1
16 changed files with 164 additions and 64 deletions

View File

@@ -0,0 +1,19 @@
import { useState } from 'react';
import { Add } from '@mui/icons-material';
import { TextField } from '@mui/material';
export default function CustomURLModal({ modalClose }) {
const [url, setURL] = useState('URL');
return (
<>
<h1>Add URL</h1>
<TextField value={url} onChange={(e) => setURL(e.target.value)} varient='outlined' />
<div className='resetfooter'>
<button className='round import' style={{ marginLeft: '5px' }} onClick={() => modalClose(url)}>
<Add/>
</button>
</div>
</>
);
}