This commit is contained in:
hufeixiong
2022-03-01 15:37:39 +08:00
parent 958ddd3a09
commit a1d6c398b6
5 changed files with 31 additions and 1 deletions

View File

@@ -84,7 +84,11 @@ function RightConfig(props: PropsWithChildren<RightConfigProps>) {
);
});
} else {
return <div>{replaceLocale('right.noprops', '还没有配置属性', props.config)}</div>;
return (
<div className="yh-right-noprops" style={{ textAlign: 'center' }}>
{replaceLocale('right.noprops', '还没有配置属性', props.config)}
</div>
);
}
}
return null;

View File

@@ -26,6 +26,7 @@ export interface AnimateItem {
animationDelay: number;
animationIterationCount: string;
animationTimingFunction: string;
isCustom?: boolean;
}
export interface IBlockType {