import { useState } from 'react'; // material-ui import { useTheme } from '@mui/material/styles'; import { Button, Grid, Stack, Typography } from '@mui/material'; // third-party import OtpInput from 'react18-input-otp'; // project import import AnimateButton from 'components/@extended/AnimateButton'; import { ThemeMode } from 'config'; // ============================|| STATIC - CODE VERIFICATION ||============================ // const AuthCodeVerification = () => { const theme = useTheme(); const [otp, setOtp] = useState(); const borderColor = theme.palette.mode === ThemeMode.DARK ? theme.palette.grey[200] : theme.palette.grey[300]; return ( setOtp(otp)} numInputs={4} containerStyle={{ justifyContent: 'space-between' }} inputStyle={{ width: '100%', margin: '8px', padding: '10px', border: `1px solid ${borderColor}`, borderRadius: 4, ':hover': { borderColor: theme.palette.primary.main } }} focusStyle={{ outline: 'none', boxShadow: theme.customShadows.primary, border: `1px solid ${theme.palette.primary.main}` }} /> Did not receive the email? Check your spam filter, or Resend code ); }; export default AuthCodeVerification;