MCPcopy Create free account
hub / github.com/adobe/react-spectrum / AdobeLogo

Function AdobeLogo

packages/dev/s2-docs/src/icons/AdobeLogo.tsx:5–20  ·  view source on GitHub ↗
({styles, size}: {styles?: StyleString; size?: number})

Source from the content-addressed store, hash-verified

3import {style, StyleString} from '@react-spectrum/s2/style' with {type: 'macro'};
4
5export const AdobeLogo = ({styles, size}: {styles?: StyleString; size?: number}) => {
6 return (
7 <svg
8 className={mergeStyles(style({size: 26, flexShrink: 0}), styles)}
9 style={{display: 'block', width: size, height: size}}
10 xmlns="http://www.w3.org/2000/svg"
11 aria-hidden
12 viewBox="0 0 501.71 444.05">
13 <path
14 d="m297.58 444.05-36.45-101.4h-91.46l76.87-193.53 116.65 294.93h138.52L316.8 0H186.23L0 444.05h297.58z"
15 data-name="Layer 1"
16 className={style({fill: '[#eb1000]', strokeWidth: 0})}
17 />
18 </svg>
19 );
20};

Callers

nothing calls this directly

Calls 1

mergeStylesFunction · 0.90

Tested by

no test coverage detected