@ant-design/pro-layout
Version:
19 lines (18 loc) • 546 B
TypeScript
import type { CSSProperties } from 'react';
import React from 'react';
import type { PureSettings } from '../../defaultSettings';
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 { GridContent };