chore: add trailingComma

This commit is contained in:
陈嘉涵
2020-01-19 11:57:09 +08:00
parent e841175fe8
commit 389d68884d
269 changed files with 2706 additions and 2702 deletions

View File

@@ -36,7 +36,7 @@ function LoadingIcon(h: CreateElement, props: LoadingProps) {
function LoadingText(h: CreateElement, props: LoadingProps, slots: DefaultSlots) {
if (slots.default) {
const style = props.textSize && {
fontSize: addUnit(props.textSize)
fontSize: addUnit(props.textSize),
};
return (
@@ -79,8 +79,8 @@ Loading.props = {
textSize: [Number, String],
type: {
type: String,
default: 'circular'
}
default: 'circular',
},
};
export default createComponent<LoadingProps>(Loading);