UNPKG

react-garden

Version:

React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.

26 lines (21 loc) 835 B
// ** MUI Imports import Box from '@mui/material/Box' import Button from '@mui/material/Button' import Typography from '@mui/material/Typography' // ** Icons Imports import CheckboxBlankOutline from 'mdi-material-ui/CheckboxBlankOutline' // ** Third Party Components import toast from 'react-hot-toast' const ToastSimple = () => { return ( <Box sx={{ display: 'flex', textAlign: 'center', alignItems: 'center', flexDirection: 'column' }}> <CheckboxBlankOutline sx={{ mb: 2, fontSize: '2rem' }} /> <Typography sx={{ mb: 4, fontWeight: 600 }}>Blank</Typography> <Typography sx={{ mb: 3 }}>The most basic variant does not have an icon.</Typography> <Button sx={{ mb: 8 }} variant='contained' onClick={() => toast('Blank Toast')}> Blank </Button> </Box> ) } export default ToastSimple