@atlaskit/legacy-custom-icons
TypeScript icon, indicating that this package has built-in type declarations

0.13.0 • Public • Published

LegacyCustomIcons

A centralized place to store legacy custom icons.

Usage

import MyCustomIcon from '@atlaskit/legacy-custom-icons/my-custom-icon';

Creating a new icon

  • Run yarn generate-icon from the package root
  • Follow the prompts, provide a hyphen-case name for your icon
  • A new icon will be generated in src/ui/<your-icon-name>/index.tsx. Open the file and edit the SVG as needed
  • Run yarn from platform root
  • Update the VR test from platform root: yarn test:vr packages/design-system/legacy-custom-icons -u
  • Add the dependency to the package you need the icon in: cd <package-you-are-updating> && yarn add @atlaskit/legacy-custom-icons
  • Your icon will now be available as: import MyCustomIcon from '@atlaskit/legacy-custom-icons/my-custom-icon'

Readme

Keywords

none

Package Sidebar

Install

npm i @atlaskit/legacy-custom-icons

Weekly Downloads

1,390

Version

0.13.0

License

Apache-2.0

Unpacked Size

705 kB

Total Files

471

Last publish

Collaborators

  • atlassianartifactteam
  • atlaskit-user