import React from 'react'; import { PropsTypes } from '@orca-fe/deye-typings'; import './FlexLayout.less'; export interface FlexLayoutProps extends React.HTMLAttributes { /** 定宽模式的宽度 */ width?: number[]; /** 弹性风格的flex-grow */ flex?: number[]; /** * flex模式 * 定宽/弹性比例 */ flexMode?: ('flex' | 'width') | ('flex' | 'width')[]; /** 方向 */ direction?: 'row' | 'column'; children?: React.ReactElement[]; backgroundImage?: string; } declare const FlexLayout: { (props: FlexLayoutProps): JSX.Element; title: string; icon: JSX.Element; isContainer: boolean; propsDef: PropsTypes[]; style: boolean; }; export default FlexLayout;