feat(Icon): add badge prop, mark info prop deprecated

This commit is contained in:
chenjiahan
2020-03-17 20:42:12 +08:00
parent c1f36ebb19
commit 575577ed58
5 changed files with 30 additions and 21 deletions
+1
View File
@@ -9,6 +9,7 @@ import { DefaultSlots } from '../utils/types';
export type InfoProps = {
dot?: boolean;
info?: string | number;
badge?: string | number;
};
const [createComponent, bem] = createNamespace('info');