import * as React from 'react'; import styles from '@patternfly/react-styles/css/components/Panel/panel'; import { css } from '@patternfly/react-styles'; import cssMaxHeight from '@patternfly/react-tokens/dist/esm/c_panel__main_MaxHeight'; export interface PanelMainProps extends React.HTMLProps { /** Content rendered inside the panel main div */ children?: React.ReactNode; /** Class to add to outer div */ className?: string; /** Max height of the panel main div as a string with the value and unit */ maxHeight?: string; } export const PanelMain: React.FunctionComponent = ({ className, children, maxHeight, ...props }: PanelMainProps) => (
{children}
); PanelMain.displayName = 'PanelMain';