colored restore button

This commit is contained in:
dvirlabs 2025-06-10 20:51:49 +03:00
parent ff18c5d6d7
commit 5c6cbb5195
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,7 @@
import { useState } from 'react'; import { useState } from 'react';
import { restoreBackup } from '../api/snapix'; import { restoreBackup } from '../api/snapix';
import { Button, Input } from '@mui/base' import { Button, Input } from '@mui/base'
import '../style/RestoreForm.css'; // Assuming you have some styles for the form
export default function RestoreForm() { export default function RestoreForm() {
const [backupName, setBackupName] = useState(''); const [backupName, setBackupName] = useState('');
@ -52,7 +53,7 @@ export default function RestoreForm() {
/> />
</div> </div>
<Button className='btn' onClick={handleRestore}>Restore</Button> <Button id='restore-btn' className='btn' onClick={handleRestore}>Restore</Button>
</div> </div>
); );
} }

View File

@ -0,0 +1,3 @@
#restore-btn {
background-color: dodgerblue;
}