Skip to content

Commit

Permalink
feat: added detailed comments around numbericon
Browse files Browse the repository at this point in the history
  • Loading branch information
ifrost1 committed Jun 13, 2022
1 parent 4f096b6 commit dc1a49d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/NumberIcon/NumberIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ export const NumberIcon = ({

/**
* 1) Set as 'span' since icon use is more inline than block, but no effect since display is 'flex'.
* 2) When `incomplete` is defined and there is a numberIconTitle on the circle icon, then this will render
* the proper icon with the incomplete text provided to that icon.
* 3) If this is not incomplete, then the number prop provided will show within the border
*/
return (
<Text
Expand Down

0 comments on commit dc1a49d

Please sign in to comment.