Skip to content

Commit

Permalink
chore: updated presets icon type
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Jun 7, 2020
1 parent 7159242 commit 8d85da2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/bubble/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export interface BubbleTabConfig {
*/
component:
| React.FC<BubbleTabIconProps>
| React.ComponentClass<BubbleTabIconProps>;
| React.ComponentClass<BubbleTabIconProps>
| React.ReactNode;

/**
* Icon active color.
Expand Down
4 changes: 2 additions & 2 deletions src/flashy/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export interface FlashyTabConfig {
*/
component:
| React.FC<FlashyTabIconProps>
| React.ComponentClass<FlashyTabIconProps>;

| React.ComponentClass<FlashyTabIconProps>
| React.ReactNode;
/**
* Icon color.
* @type {string}
Expand Down

0 comments on commit 8d85da2

Please sign in to comment.