import React from 'react'; import type { ToolBarProps } from '../../typing'; /** * 工具栏组件。 * * 该组件用于渲染表格的工具栏。根据传入的属性决定是否显示工具栏,以及工具栏的内容。 * 如果没有提供自定义的工具栏渲染函数或工具栏选项,则不渲染任何内容。 * * @param props 组件属性,包含以下字段: * - toolBarRender 自定义工具栏渲染函数。 * - toolBarOptions 是否显示默认的工具栏选项。 * - onReload 重新加载的回调函数。 * @returns 返回工具栏的渲染结果,如果不需要显示工具栏,则返回 null。 */ declare const ToolBar: (props: ToolBarProps) => React.JSX.Element | null; export default ToolBar;