/// import PropTypes from 'prop-types'; import { Identifier, Exporter } from '../../features/core'; import { ButtonProps } from './Button'; /** * Export the selected rows * * To be used inside the prop. * * @example // basic usage * import * as React from 'react'; * import { Fragment } from 'react'; * import { BulkDeleteButton, BulkExportButton } from '../../app'; * * const PostBulkActionButtons = ({ basePath }) => ( * * * * * ); * * export const PostList = (props) => ( * }> * ... * * ); */ declare const BulkExportButton: { (props: BulkExportButtonProps): JSX.Element; propTypes: { basePath: PropTypes.Requireable; exporter: PropTypes.Requireable<(...args: any[]) => any>; label: PropTypes.Requireable; resource: PropTypes.Requireable; selectedIds: PropTypes.Requireable; icon: PropTypes.Requireable; }; }; interface Props { basePath?: string; exporter?: Exporter; filterValues?: any; icon?: JSX.Element; label?: string; onClick?: (e: Event) => void; selectedIds?: Identifier[]; resource?: string; } export declare type BulkExportButtonProps = Props & ButtonProps; export default BulkExportButton;