importtype{ ReactElement }from"react";import{ Badge, BadgeContainer }from"@react-md/badge";import{ Button }from"@react-md/button";import{ NotificationsSVGIcon }from"@react-md/material-icons";import{ Typography }from"@react-md/typography";import{COPYRIGHT}from"./unicode";import styles from"./CustomizingBadges.module.scss";exportdefaultfunctionDemo(): ReactElement {return(<><BadgeContainerclassName={styles.container}>{/* since the badge is presentational, don't add the `aria-describedby` value */}<Typography>Some amazing product</Typography><Badgeid="copyright-badge"theme="clear">{COPYRIGHT}</Badge></BadgeContainer>{/* this is _basically_ the `BadgedButton` component except with an extra `<span>` */}<BadgeContainerclassName={styles.custom}><Buttonid="custom-badged-button"aria-describedby="custom-badged-button-badge"buttonType="icon"><NotificationsSVGIcon/></Button><Badgeid="custom-badged-button-badge">8</Badge></BadgeContainer></>);}