Browse Source

Pull request #2294: 无jira任务,补充cls和css描述

Merge in VISUAL/fineui from ~GUYI/fineui:master to master

* commit '9df1ada1a27a6f97a7e86b742b9b11227e40a591':
  无jira任务,补充cls和css描述
es6
Guyi 3 years ago
parent
commit
f28dafa7de
  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