UNPKG

@ant-design/pro-layout

Version:
20 lines (19 loc) 587 B
import './GridContent.less'; import type { CSSProperties } from 'react'; import React from 'react'; import type { PureSettings } from '../../defaultSettings'; declare type GridContentProps = { contentWidth?: PureSettings['contentWidth']; children: React.ReactNode; className?: string; style?: CSSProperties; prefixCls?: string; }; /** * This component can support contentWidth so you don't need to calculate the width * contentWidth=Fixed, width will is 1200 * * @param props */ declare const GridContent: React.FC<GridContentProps>; export default GridContent;