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

Function LogoWithPlus

packages/shared/src/components/Logo.tsx:171–193  ·  view source on GitHub ↗
({
  className,
  iconSize = IconSize.Size16,
  logoClassName,
}: LogoWithPlusProps)

Source from the content-addressed store, hash-verified

169};
170
171export const LogoWithPlus = ({
172 className,
173 iconSize = IconSize.Size16,
174 logoClassName,
175}: LogoWithPlusProps): ReactElement => {
176 const featureTheme = useFeatureTheme();
177 const isMobile = useViewSize(ViewSize.MobileL);
178 return (
179 <div className={classNames('relative flex items-center', className)}>
180 <Logo
181 position={LogoPosition.Relative}
182 featureTheme={featureTheme}
183 logoClassName={logoClassName}
184 />
185 <PlusUser
186 iconSize={iconSize}
187 typographyType={
188 isMobile ? TypographyType.Footnote : TypographyType.Callout
189 }
190 />
191 </div>
192 );
193};

Callers

nothing calls this directly

Calls 2

useFeatureThemeFunction · 0.90
useViewSizeFunction · 0.90

Tested by

no test coverage detected