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
+7 -2
View File
@@ -24,7 +24,10 @@ function CellGroup(
ctx: RenderContext<CellGroupProps>
) {
const Group = (
<div class={[bem(), { [BORDER_TOP_BOTTOM]: props.border }]} {...inherit(ctx, true)}>
<div
class={[bem(), { [BORDER_TOP_BOTTOM]: props.border }]}
{...inherit(ctx, true)}
>
{slots.default?.()}
</div>
);
@@ -32,7 +35,9 @@ function CellGroup(
if (props.title || slots.title) {
return (
<div>
<div class={bem('title')}>{slots.title ? slots.title() : props.title}</div>
<div class={bem('title')}>
{slots.title ? slots.title() : props.title}
</div>
{Group}
</div>
);