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

Function LogoWithPlus

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

useFeatureThemeFunction · 0.90
useViewSizeFunction · 0.90

Tested by

no test coverage detected