Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix Icon -> IconProps and IconFamilyType
  • Loading branch information
long-hp committed Dec 19, 2019
commit 27d319e77827cd20fa384dcd8097193b2fd3d641
13 changes: 6 additions & 7 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,20 @@ import {
declare module 'galio-framework' {
type IconFamilyType =
| 'Galio'
| 'antdesign'
| 'FontAwesome'
| 'AntDesign'
| 'Entypo'
| 'EvilIcons'
| 'Feather'
| 'FontAwesome'
| 'FontAwesome5'
| 'FontAwesome5Brands'
| 'Fontisto'
| 'Foundation'
| 'Ionicons'
| 'MaterialCommunityIcons'
| 'MaterialIcons'
| 'SimpleLineIcons'
| 'MaterialCommunityIcons'
| 'Octicons'
| 'Zocial';
| 'Zocial'
| 'SimpleLineIcons';

type BaseColorType = string;

Expand Down Expand Up @@ -119,7 +118,7 @@ declare module 'galio-framework' {
}
export class DeckSwiper extends React.Component<DeckSwiperProps> {}

export interface Icon extends BaseProps {
export interface IconProps extends BaseProps {
name?: string;
family?: IconFamilyType;
size?: number;
Expand Down