import React from 'react'; import XBaseLayout, { XBaseLayoutProps } from "../base/XBaseLayout"; import { Divider } from "antd"; import { XDividerStyle1, XDividerStyle2 } from "./divider/XDividerStyle"; export declare const XCardStyle: { style1: typeof XDividerStyle1; style2: typeof XDividerStyle2; }; export interface XDividerProps extends XBaseLayoutProps { /** * 分隔方向: horizontal: 纵向,vertical: 横向 */ direction?: 'horizontal' | 'vertical'; /** * 是否虚线 */ dashed?: boolean; /** * 是否虚线 */ text?: string; /** * 分割线标题的位置 */ orientation?: "left" | "right" | "center"; plain?: boolean; } /** * 一根横向或者纵向的分割线 * @name 分割线 * @groupName 网格 */ export default class XDivider extends XBaseLayout { static ComponentName: string; static Divider: typeof Divider; static Direction: { vertical: string; horizontal: string; }; static defaultProps: { direction: string; lazyChildren: boolean; 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: XDividerProps); render(): React.JSX.Element; }