Browse Source

无jira任务,补充cls和css描述

es6
Guyi 3 years ago
parent
commit
5af432cd90
  1. 4
      typescript/shims-tsx.ts

4
typescript/shims-tsx.ts

@ -24,7 +24,7 @@ interface AdditionalProps {
} }
interface ElementClassProps<T> extends UIProps { interface ElementClassProps<T> extends UIProps {
cls: string; cls: string | (() => string);
extraCls: string; extraCls: string;
ref: (ref: T) => void; ref: (ref: T) => void;
listeners: { listeners: {
@ -40,7 +40,7 @@ interface ElementClassProps<T> extends UIProps {
}; };
css: { css: {
[key: string]: any; [key: string]: any;
}; } | (() => any);
tagName: string; tagName: string;
element: any; element: any;
$testId: string; $testId: string;

Loading…
Cancel
Save