mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
[improvement] SwitchCell: tsx (#2785)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user