UNPKG

@atlaskit/logo

Version:

A logo is a visual representation of a brand or app. It can be a word, an image, or a combination of both.

36 lines (35 loc) • 1.28 kB
/** * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} * @codegen <<SignedSource::6d75645bf2b65eb6380a5d366f2c7ddb>> * @codegenCommand afm workspace @atlaskit/logo generate:components */ import React from 'react'; import { IconWrapper } from '../../../utils/icon-wrapper'; // `height` is set to 100% to allow the SVG to scale with the parent element const svg = `<svg height="100%" viewBox="0 0 24 24"> <path fill="var(--tile-color,#94c748)" d="M0 6a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6z"/> <path fill="var(--icon-color, #101214)" d="M12.75 7.877v-3.37l6.16-.007h.007a.59.59 0 0 1 .583.598v6.147h-3.366V7.877z"/> <path fill="var(--icon-color, #101214)" d="M12.75 14.615v-3.37h3.368v6.165a.59.59 0 0 1-.591.59H6.583A.59.59 0 0 1 6 17.402V8.467a.59.59 0 0 1 .591-.59h6.16v3.368H9.373v3.37z"/> </svg> `; /** * __CompassIcon__ * * A component to represent the icon for Compass. * Import `CompassIcon` from `@atlaskit/logo/compass/icon`. * */ export function CompassIcon({ size = 'medium', appearance = 'brand', label = 'Compass', testId }) { return /*#__PURE__*/React.createElement(IconWrapper, { svg: svg, label: label, appearance: appearance, size: size, testId: testId }); }