Skip to content

Commit

Permalink
chore(isct-97): update v4 icons story
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyKIron committed Nov 9, 2023
1 parent 5c501a3 commit d081785
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions projects/fusion-ui/storybook-foundations/v4/icons/icons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ Put ```import {IconModule} from '@ironsource/fusion-ui/components/icon/v1';``` a

**ICON_NAME** here it path to icon, for example: ```<fusion-icon name="v4/branded/web-app"></fusion-icon>```

**Phosphor icons** use name prefix "ph" (for regular icons).
For example: ```<fusion-icon name="ph/arrow-left"></fusion-icon>```

**Monochrome icons** get current color of element-wrapper.

**Colored icons**, like on **A/B test** section, need add class **"fu-colored"** to the icon component: ```<fusion-icon class="fu-colored" name="v4/ab-test/ab"></fusion-icon>```.
Expand Down

0 comments on commit d081785

Please sign in to comment.