import React, { HTMLAttributes, FunctionComponent } from 'react'; import { getClassName } from '../../helpers/getClassName'; import { classNames } from '../../lib/classNames'; import { usePlatform } from '../../hooks/usePlatform'; export interface BadgeProps extends HTMLAttributes { mode: 'new' | 'prominent'; }; export const Badge: FunctionComponent = ({ className, mode, ...restProps }: BadgeProps) => { const platform = usePlatform(); return (
); }; Badge.defaultProps = { mode: 'new', };