import { theme } from '@vegaprotocol/tailwindcss-config'; type DudeWithFlagProps = { flagColor?: string; withStar?: boolean; className?: string; }; const DEFAULT_FLAG_COLOR = theme.colors.vega.green[500]; export const DudeWithFlag = ({ flagColor = DEFAULT_FLAG_COLOR, withStar = true, className, }: DudeWithFlagProps) => { return ( {withStar && ( <> )} ); };