feat: finish button
This commit is contained in:
@@ -8,6 +8,7 @@ import { TextField, Typography } from "@mui/material";
|
|||||||
import { WarningText } from "../atoms/texts";
|
import { WarningText } from "../atoms/texts";
|
||||||
import NotificationImportantIcon from "@mui/icons-material/NotificationImportant";
|
import NotificationImportantIcon from "@mui/icons-material/NotificationImportant";
|
||||||
import FlagIcon from '@mui/icons-material/Flag';
|
import FlagIcon from '@mui/icons-material/Flag';
|
||||||
|
import { DoneAll } from '@mui/icons-material'
|
||||||
import { useNavigate } from 'react-router-dom';
|
import { useNavigate } from 'react-router-dom';
|
||||||
|
|
||||||
interface SaveRecordingProps {
|
interface SaveRecordingProps {
|
||||||
@@ -68,16 +69,22 @@ export const SaveRecording = ({ fileName }: SaveRecordingProps) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Button sx={{
|
<IconButton sx={{
|
||||||
width: '100px',
|
width: '140px',
|
||||||
background: 'white',
|
background: 'green',
|
||||||
color: 'rgba(0,128,0,0.7)',
|
color: 'white',
|
||||||
'&:hover': { background: 'white', color: 'green' },
|
'&:hover': { background: 'green', color: 'white' },
|
||||||
padding: '11px',
|
padding: '13px',
|
||||||
marginRight: '10px',
|
marginRight: '10px',
|
||||||
|
borderRadius: '5px',
|
||||||
|
fontFamily: '"Roboto","Helvetica","Arial",sans-serif',
|
||||||
|
fontWeight: '500',
|
||||||
|
fontSize: '0.875rem',
|
||||||
|
lineHeight: '1.75',
|
||||||
|
letterSpacing: '0.02857em',
|
||||||
}} onClick={() => setOpenModal(true)}>
|
}} onClick={() => setOpenModal(true)}>
|
||||||
<FlagIcon sx={{ marginRight: '3px' }} /> FINISH
|
<DoneAll sx={{ marginRight: '5px' }} /> Finish
|
||||||
</Button>
|
</IconButton>
|
||||||
|
|
||||||
<GenericModal isOpen={openModal} onClose={() => setOpenModal(false)} modalStyle={modalStyle}>
|
<GenericModal isOpen={openModal} onClose={() => setOpenModal(false)} modalStyle={modalStyle}>
|
||||||
<form onSubmit={handleSaveRecording} style={{ paddingTop: '50px', display: 'flex', flexDirection: 'column' }} >
|
<form onSubmit={handleSaveRecording} style={{ paddingTop: '50px', display: 'flex', flexDirection: 'column' }} >
|
||||||
|
|||||||
Reference in New Issue
Block a user