MCPcopy Create free account
hub / github.com/dailydotdev/apps / PlusUser

Function PlusUser

packages/shared/src/components/PlusUser.tsx:20–38  ·  view source on GitHub ↗
({
  className,
  iconSize = IconSize.Size16,
  typographyType = TypographyType.Caption1,
  typographyColor = TypographyColor.Plus,
  withText = true,
}: Props)

Source from the content-addressed store, hash-verified

18} & WithClassNameProps;
19
20export const PlusUser = ({
21 className,
22 iconSize = IconSize.Size16,
23 typographyType = TypographyType.Caption1,
24 typographyColor = TypographyColor.Plus,
25 withText = true,
26}: Props): ReactElement => {
27 return (
28 <Typography
29 className={classNames('flex items-center', className)}
30 color={typographyColor}
31 type={typographyType}
32 bold
33 >
34 <DevPlusIcon secondary size={iconSize} />
35 {withText && <span className="pl-0.5">Plus</span>}
36 </Typography>
37 );
38};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected