[improvement] CellGroup: jsx (#2769)

This commit is contained in:
neverland
2019-02-17 18:23:48 +08:00
committed by GitHub
parent 1d84d33264
commit 82b29267a2
2 changed files with 20 additions and 8 deletions

View File

@@ -46,6 +46,12 @@ const Loading: FunctionalComponent<LoadingProps> = function(
);
};
export type LoadingProps = {
size?: string;
type?: string;
color?: string;
};
Loading.props = {
size: String,
type: {
@@ -58,10 +64,4 @@ Loading.props = {
}
};
export type LoadingProps = {
size?: string;
type?: string;
color?: string;
};
export default sfc<LoadingProps>(Loading);