[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
@@ -12,8 +12,8 @@ export type ContactCardProps = {
tel?: string;
name?: string;
type?: string;
addText?: string;
editable?: boolean;
addText: string;
editable: boolean;
};
function ContactCard(