;
}
/**
* 基础样式组件
* 基础样式组件继承于基础组件,为每个组件增加一个外包盒,提供了样式相关的属性和方法,兼容HTML的样式设置。
* @name 基础样式组件
* @groupName 基础
*/
export default class XBaseStyle extends XBaseObject {
static Theme: {
light: string;
dark: string;
gray: string;
red: string;
green: string;
blue: string;
};
static StyleMode: {
web: string;
mobile: string;
miniApp: string;
};
static StyleType: {
default: string;
style1: string;
style2: string;
style3: string;
style4: string;
style5: string;
style6: string;
};
static Overflow: {
auto: string;
hidden: string;
unset: string;
};
static FontSize: {
small: string;
middle: string;
large: string;
};
static Color: {
success: string;
warn: string;
error: string;
};
static Align: {
start: string;
end: string;
center: string;
spaceEvenly: string;
spaceAround: string;
spaceBetween: string;
};
static BoxStyleCenterContent: {
display: string;
alignItems: string;
justifyContent: string;
};
static defaultProps: {
styleType: string;
hasBox: boolean;
showBorder: any;
overflow: string;
boxStyle: {};
width: string;
height: string;
visible: boolean;
grid: number[];
gridSpan: number[];
parent: string;
pureRender: boolean;
dataSourceUrl: string;
filterData: {};
mustHasFilter: boolean;
};
constructor(props: XBaseStyleProps & P);
useStateVisible: boolean;
/**
* 设置组件的可见性
* @param visible
*/
SetVisible(visible: boolean): void;
/**
* 返回组件的可见性
*/
GetVisible(): any;
getBoxStyle(): React.CSSProperties;
rootStyleDiv: HTMLDivElement;
styleWrap: (node?: React.ReactNode) => string | number | boolean | Iterable | React.JSX.Element;
}
export declare const ThemeA: ({ children }: {
children: any;
}) => React.JSX.Element;