import { CSSProperties, FunctionComponent } from 'react'; interface NotificationBadgeProps { show?: boolean; vr?: boolean; style?: CSSProperties; } const NotificationBadge: FunctionComponent = ({ show, style, vr }) => { return show ? ( vr ? ( // whoever made transform:scale completely break absolute positioning goes straight to super turbo hell this took me an hour
) : (
) ) : null; }; export default NotificationBadge;