UNPKG

@atlaskit/logo

Version:

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

44 lines (39 loc) 1.76 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.legacyDefaultLogoParams = exports.defaultLogoParams = exports.DefaultProps = void 0; /** * These are the default parameters for LogoProps if the user does not specify values. */ var defaultLogoParams = exports.defaultLogoParams = { iconColor: 'inherit', label: '', size: 'medium', textColor: 'currentColor' }; var legacyDefaultLogoParams = exports.legacyDefaultLogoParams = { iconGradientStart: 'inherit', iconGradientStop: 'inherit' }; /** * The props for the <Wrapper /> that takes the svg and turns it into a component. */ /** * In order to pass linting rules, these props were renamed to be more descriptive i.e. props renamed to LogoProps and * defaultParams to defaultLogoParams. However, this is a breaking change as it is a file with public entry points. The code * below is here to keep Logo backwards compatible. * See the ticket here: https://product-fabric.atlassian.net/browse/DSP-4086. * * Note that some consumers are accessing this using like so: import { Props } from '@atlaskit/logo/constants', this should * still work despite `LogoProps` being in a different types.tsx file. * */ /** * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-175 Internal documentation for deprecation (no external access)} This has been renamed, please import `LogoProps` instead. */ // eslint-disable-next-line @repo/internal/react/consistent-types-definitions /** * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-176 Internal documentation for deprecation (no external access)} This has been renamed, please import `defaultLogoParams` instead. */ var DefaultProps = exports.DefaultProps = defaultLogoParams;