chore: prettier all tsx codes

This commit is contained in:
陈嘉涵
2020-01-19 17:22:33 +08:00
parent 08c84c9c38
commit f7c5f994dd
9 changed files with 70 additions and 31 deletions
+6 -2
View File
@@ -33,7 +33,9 @@ function Skeleton(
function Title() {
if (props.title) {
return <h3 class={bem('title')} style={{ width: addUnit(props.titleWidth) }} />;
return (
<h3 class={bem('title')} style={{ width: addUnit(props.titleWidth) }} />
);
}
}
@@ -54,7 +56,9 @@ function Skeleton(
}
for (let i = 0; i < props.row; i++) {
Rows.push(<div class={bem('row')} style={{ width: addUnit(getRowWidth(i)) }} />);
Rows.push(
<div class={bem('row')} style={{ width: addUnit(getRowWidth(i)) }} />
);
}
return Rows;