-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: wrapIcon has type error on Ref (#648)
* fix * do change without prettier * more type fix
- Loading branch information
1 parent
9b8ea7a
commit 7b0f70d
Showing
4 changed files
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
import * as React from "react"; | ||
|
||
export type FluentIconsProps<TBaseAttributes extends (React.SVGAttributes<SVGElement> | React.HTMLAttributes<HTMLElement>) = React.SVGAttributes<SVGElement>> | ||
= TBaseAttributes & React.RefAttributes<HTMLElement> & { | ||
primaryFill?: string | ||
className?: string | ||
filled?: boolean | ||
title?: string | ||
} | ||
export type FluentIconsProps< | ||
TBaseAttributes extends | ||
| React.SVGAttributes<SVGElement> | ||
| React.HTMLAttributes<HTMLElement> = React.SVGAttributes<SVGElement>, | ||
TRefType extends HTMLElement | SVGSVGElement = SVGSVGElement | ||
> = TBaseAttributes & | ||
React.RefAttributes<TRefType> & { | ||
primaryFill?: string; | ||
className?: string; | ||
filled?: boolean; | ||
title?: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters