// ** MUI Imports import Box from '@mui/material/Box' import Button from '@mui/material/Button' import { useTheme } from '@mui/material/styles' import Typography from '@mui/material/Typography' // ** Icon Imports import Icon from 'src/@core/components/icon' // ** Third Party Components import toast from 'react-hot-toast' const ToastThemed = () => { // ** Hook const theme = useTheme() const handleClick = () => { return toast.success('Look at me, I have brand styles.', { style: { padding: '16px', color: theme.palette.primary.main, border: `1px solid ${theme.palette.primary.main}` }, iconTheme: { primary: theme.palette.primary.main, secondary: theme.palette.primary.contrastText } }) } return ( Themed Customize the default styles the way you want. ) } export default ToastThemed