Skip to content

Commit

Permalink
Refactor iconTable in Icon component
Browse files Browse the repository at this point in the history
  • Loading branch information
hervedombya committed Sep 19, 2024
1 parent 86babb2 commit e3676d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/components/icon/Icon.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export const iconTable = {
News: 'fas faBullhorn',
Ring: 'fas faRing',
Stop: 'fas faStop',
Play: 'fas faPlay',
};

const getColor = (color: string | undefined): string => {
Expand Down
1 change: 1 addition & 0 deletions stories/icons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ When next to a text, the icon and the text should have the same size.
| <i className="far fa-hourglass fa-3x" /> | Hourglass | Status | FA | hourglass | `<i className="far fa-hourglass" />` | regular Style (far) | ? | Workflow delayed |
| <i className="fas fa-pause fa-3x" /> | Pause | Status | FA | pause | `<i className="fas fa-pause" />` | solid Style (fas) | yes | Workflow paused |
| <i className="fas fa-stop fa-3x" /> | Stop | Status | FA | stop | `<i className="fas fa-stop" />` | solid Style (fas) | yes | Upload stop |
| <i className="fas fa-play fa-3x" /> | Play | Status | FA | play | `<i className="fas fa-play" />` | solid Style (fas) | yes | Upload play |
| <i className="fas fa-level-up-alt fa-3x" /> | Upgrade | Button-action | FA | level-up-alt | `<i className="fas fa-level-up-alt" />` | solid Style (fas) | yes | Upgrade version |
| <i className="fas fa-expand-alt fa-3x" /> | Expansion | Button-action | FA | expand-alt | `<i className="fas fa-expand-alt" />` | solid Style (fas) | yes | Expand with no rebalancing |
| <i className="fas fa-balance-scale fa-3x" /> | Rebalance | Button-action | FA | balance-scale | `<i className="fas fa-balance-scale" />` | solid Style (fas) | yes | Expand with rebalancing |
Expand Down

0 comments on commit e3676d2

Please sign in to comment.