import React from 'react'; import PropTypes from 'prop-types'; import { ComponentProps } from '../utils/types'; interface RowPropsBase { children?: React.ReactNode; /** * A React ref which is set to the row DOM element when the component mounts and null when it unmounts. */ elementRef?: React.Ref; } type RowProps = ComponentProps; declare function Row({ children, elementRef, ...otherProps }: RowProps): React.JSX.Element; declare namespace Row { var propTypes: { children: PropTypes.Requireable; elementRef: PropTypes.Requireable; }; } export default Row; export type { RowPropsBase };