colored restore button
This commit is contained in:
parent
ff18c5d6d7
commit
5c6cbb5195
@ -1,6 +1,7 @@
|
||||
import { useState } from 'react';
|
||||
import { restoreBackup } from '../api/snapix';
|
||||
import { Button, Input } from '@mui/base'
|
||||
import '../style/RestoreForm.css'; // Assuming you have some styles for the form
|
||||
|
||||
export default function RestoreForm() {
|
||||
const [backupName, setBackupName] = useState('');
|
||||
@ -52,7 +53,7 @@ export default function RestoreForm() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Button className='btn' onClick={handleRestore}>Restore</Button>
|
||||
<Button id='restore-btn' className='btn' onClick={handleRestore}>Restore</Button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
3
frontend/src/style/RestoreForm.css
Normal file
3
frontend/src/style/RestoreForm.css
Normal file
@ -0,0 +1,3 @@
|
||||
#restore-btn {
|
||||
background-color: dodgerblue;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user