'use client' // MUI Imports import Card from '@mui/material/Card' import CardHeader from '@mui/material/CardHeader' import CardContent from '@mui/material/CardContent' import Typography from '@mui/material/Typography' import Checkbox from '@mui/material/Checkbox' import MenuItem from '@mui/material/MenuItem' import Grid from '@mui/material/Grid2' import Button from '@mui/material/Button' // Component Imports import Link from '@components/Link' import Form from '@components/Form' import CustomTextField from '@core/components/mui/TextField' // Style Imports import tableStyles from '@core/styles/table.module.css' type TableDataType = { type: string app: boolean email: boolean browser: boolean } // Vars const tableData: TableDataType[] = [ { app: true, email: true, browser: true, type: 'New for you' }, { app: true, email: true, browser: true, type: 'Account activity' }, { app: false, email: true, browser: true, type: 'A new browser used to sign in' }, { app: false, email: true, browser: false, type: 'A new device is linked' } ] const Notifications = () => { return ( We need permission from your browser to show notifications. Request Permission } />
{tableData.map((data, index) => ( ))}
Type Email Browser App
{data.type}
When should we send you notifications? Only when I'm online Anytime
) } export default Notifications