[improvement] SwitchCell: tsx (#2785)

This commit is contained in:
neverland
2019-02-18 20:55:25 +08:00
committed by GitHub
parent e860759f16
commit c372638036
4 changed files with 55 additions and 34 deletions

View File

@@ -55,6 +55,8 @@ export type FunctionalComponent<
export type TsxBaseProps = {
class?: any;
style?: any;
// hack for jsx prop spread
props?: any;
};
export type TsxComponent<Props, Events> = (
props: Props & Events & TsxBaseProps