Parameters
| Parameter | Type | Description |
|---|---|---|
props | Omit<SVGProps<SVGSVGElement>, "viewBox"> | The props for the icon. |
Returns
Element
The Google logo icon.
function IconGoogleLogo(props: Omit<SVGProps<SVGSVGElement>, "viewBox">): Element;
| Parameter | Type | Description |
|---|---|---|
props | Omit<SVGProps<SVGSVGElement>, "viewBox"> | The props for the icon. |
Element
The Google logo icon.
// Icon is correctly hidden from screen readers
<p>
<IconGoogleLogo />
Google
</p>
// Icon with screen-reader accessible label only
<p>
<IconGoogleLogo aria-label="Google" />
</p>
Was this page helpful?