|
|
@ -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; |
|
|
|