import React from 'react'; import PropTypes from 'prop-types'; import { ComponentProps } from '../utils/types'; interface BodyPropsBase { children?: React.ReactNode; /** * A React ref which is set to the section DOM element when the component mounts and null when it unmounts. */ elementRef?: React.Ref; /** * Alternate rows are given a darker background to improve readability. */ stripeRows?: boolean; } type BodyProps = ComponentProps; declare function Body({ children, elementRef, stripeRows, ...otherProps }: BodyProps): React.JSX.Element; declare namespace Body { var propTypes: { children: PropTypes.Requireable; elementRef: PropTypes.Requireable; stripeRows: PropTypes.Requireable; }; } export default Body; export type { BodyPropsBase };