import React from 'react'; import PropTypes from 'prop-types'; import Body from './Body'; import Cell from './Cell'; import Head from './Head'; import HeadCell from './HeadCell'; import Row from './Row'; import { ComponentProps } from '../utils/types'; interface SimpleTablePropsBase { /** * Must be `SimpleTable.Head` and `SimpleTable.Body`. */ children?: React.ReactNode; /** * A React ref which is set to the table element when the component mounts and null when it unmounts. */ elementRef?: React.Ref; } type SimpleTableProps = ComponentProps; /** * A lightweight table for static content. It preserves native table semantics and basic Splunk table styling * without the interactive runtime used by `Table`. */ declare function SimpleTable({ children, elementRef, ...otherProps }: SimpleTableProps): React.JSX.Element; declare namespace SimpleTable { var propTypes: { children: PropTypes.Requireable; elementRef: PropTypes.Requireable; }; var Body: typeof import("./Body").default; var Cell: typeof import("./Cell").default; var Head: typeof import("./Head").default; var HeadCell: typeof import("./HeadCell").default; var Row: typeof import("./Row").default; } export default SimpleTable; export { Body, Cell, Head, HeadCell, Row };