Skip to content

Commit

Permalink
fix: 🐛remove weired default side property to avoid accident
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-xiao-jian committed Jun 24, 2020
1 parent 5d1d04c commit 903baee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import './Icon.css';
interface NeutralIconProps {
dot: boolean;
color: string;
size: string;
}
// 不包含默认值属性
interface ExogenousIconProps {
name: string;
size?: string;
// info#info
info?: string;
// info#customStyle
Expand All @@ -33,7 +33,6 @@ type IconProps = NeutralIconProps & ExogenousIconProps;
const DefaultIconProps: NeutralIconProps = {
dot: false,
color: 'inherit',
size: 'inherit',
};

// TODO - re-implement icon example page to be consistent with official page
Expand Down

0 comments on commit 903baee

Please sign in to comment.