[improvement] default props in tsx (#2789)

This commit is contained in:
neverland
2019-02-19 11:31:55 +08:00
committed by GitHub
parent b9d7143fb3
commit 07a6bcbe9f
11 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ import { DefaultSlots } from '../utils/use/sfc';
export type LoadingProps = {
size?: string;
type?: string;
color?: string;
type: string;
color: string;
};
const [sfc, bem] = use('loading');