diff --git a/src/components/secretDialog.tsx b/src/components/secretDialog.tsx index df96ed5..3f1cb29 100644 --- a/src/components/secretDialog.tsx +++ b/src/components/secretDialog.tsx @@ -9,9 +9,9 @@ import Select, { SelectChangeEvent } from '@mui/material/Select' import MenuItem from '@mui/material/MenuItem' import FormHelperText from '@mui/material/FormHelperText' import FormControl from '@mui/material/FormControl' -import Box from '@mui/material/Box' import { useEffect, useState } from 'react' import { ISavedSecret } from '../src/state' +import Grid from '@mui/material/Grid' export interface ISecretDialogProps { isOpen: boolean @@ -85,48 +85,60 @@ export default function SecretDialog(props: ISecretDialogProps) { Your secret will be saved in local storage and deleted after the expiration date. - Note: saved secrets are not visible - Note: saved secrets are not visible. + - - - - - Keep for - - + + input && input.focus()} + id="label" + label="Label" + variant="standard" + /> + + + + + + + + Delete after + + + + {/* // display: 'flex', + // justifyContent: 'space-around', + // alignItems: 'flex-end', + // mt: 1, + // flexWrap: 'wrap', */}