zsmj1994
4 years ago
47 changed files with 170 additions and 38 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,9 @@
|
||||
import { AbstractLabel } from "./abstract.label"; |
||||
export declare class Label extends AbstractLabel { |
||||
props: { |
||||
py: string; |
||||
keyword: string; |
||||
text: string; |
||||
} & AbstractLabel['props']; |
||||
static xtype: string; |
||||
} |
||||
|
@ -0,0 +1,31 @@
|
||||
declare const React: any; |
||||
interface UIProps { |
||||
width: number; |
||||
height: number; |
||||
top: number; |
||||
left: number; |
||||
bottom: number; |
||||
right: number; |
||||
rgap: number; |
||||
lgap: number; |
||||
tgap: number; |
||||
bgap: number; |
||||
} |
||||
interface ElementClassProps<T> extends UIProps { |
||||
baseCls: string; |
||||
cls: string; |
||||
ref: (ref: T) => void; |
||||
} |
||||
declare namespace JSX { |
||||
interface IntrinsicElements { |
||||
[elemName: string]: Partial<UIProps>; |
||||
} |
||||
type ElementAttributesProperty = { |
||||
/** |
||||
* specify the property name to use |
||||
*/ |
||||
__props: any; |
||||
}; |
||||
interface IntrinsicClassAttributes<T> extends Partial<ElementClassProps<T>> { |
||||
} |
||||
} |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,5 +1,11 @@
|
||||
import { AbstractLabel } from "./abstract.label"; |
||||
|
||||
export declare class Label extends AbstractLabel { |
||||
props: { |
||||
py: string; |
||||
keyword: string; |
||||
text: string; |
||||
} & AbstractLabel['props']; |
||||
|
||||
static xtype: string; |
||||
} |
||||
|
@ -0,0 +1,37 @@
|
||||
declare const React: any; |
||||
|
||||
interface UIProps { |
||||
width: number; |
||||
height: number; |
||||
top: number; |
||||
left: number; |
||||
bottom: number; |
||||
right: number; |
||||
rgap: number; |
||||
lgap: number; |
||||
tgap: number; |
||||
bgap: number; |
||||
} |
||||
|
||||
interface ElementClassProps<T> extends UIProps { |
||||
baseCls: string; |
||||
cls: string; |
||||
ref: (ref: T) => void; |
||||
} |
||||
|
||||
declare namespace JSX { |
||||
// for undefined
|
||||
interface IntrinsicElements { |
||||
[elemName: string]: Partial<UIProps>; |
||||
} |
||||
|
||||
type ElementAttributesProperty = { |
||||
|
||||
/** |
||||
* specify the property name to use |
||||
*/ |
||||
__props: any; |
||||
}; |
||||
|
||||
interface IntrinsicClassAttributes<T> extends Partial<ElementClassProps<T>> {} |
||||
} |
Loading…
Reference in new issue