Skip to content

Commit

Permalink
[SvgIcon] Add createSvgIcon type definition (#13994)
Browse files Browse the repository at this point in the history
  • Loading branch information
yifei-fu authored and oliviertassinari committed Dec 25, 2018
1 parent d2a9609 commit d79cc22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/material-ui-icons/src/utils/createSvgIcon.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import SvgIcon from '@material-ui/core/SvgIcon';

declare function createSvgIcon(path: React.ComponentType, displayName: string): typeof SvgIcon;

export default createSvgIcon;

0 comments on commit d79cc22

Please sign in to comment.