@api3/logos
Version:
## Installation
30 lines (28 loc) • 598 B
TypeScript
/**
*
* @param {string} id - Unique ID for the logo element.
* @param {boolean} [light=false] - Light version.
* @returns
* ChainLogo component
*
* @example
* ```
* import { ChainLogoSvg } from '@api3/logos';
*
* const App = () => {
* return <img src={ChainLogoSvg("1")} alt="Logo" />;
* }
* ```
*
* @example
* ```
* import { ChainLogoSvg } from '@api3/logos';
*
* const App = () => {
* return <img src={ChainLogoSvg("1")} alt="Logo" width="64" height="64" />;
* }
* ```
*
*/
declare function ChainLogo(id: string, light?: boolean): string;
export default ChainLogo;