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.

25 lines (22 loc) 896 B
// ** MUI Imports import Badge from '@mui/material/Badge' import Avatar from '@mui/material/Avatar' const BadgesAlignment = () => { return ( <div className='demo-space-x'> <Badge color='primary' variant='dot'> <Avatar src='/images/avatars/1.png' alt='User Avatar' /> </Badge> <Badge color='primary' variant='dot' anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}> <Avatar src='/images/avatars/1.png' alt='User Avatar' /> </Badge> <Badge color='primary' variant='dot' anchorOrigin={{ vertical: 'bottom', horizontal: 'left' }}> <Avatar src='/images/avatars/1.png' alt='User Avatar' /> </Badge> <Badge color='primary' variant='dot' anchorOrigin={{ vertical: 'top', horizontal: 'left' }}> <Avatar src='/images/avatars/1.png' alt='User Avatar' /> </Badge> </div> ) } export default BadgesAlignment