-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add meta
prop to ExportButton
and BulkExportButton
#8636
Conversation
Thanks! As this is a new feature, please open the PR against |
specs added, as far as documentation that seems like an overkill imho |
a7da4fb
to
7476df8
Compare
Documentation is never overkill ;) Please add a mention of that new prop in https://marmelab.com/react-admin/Buttons.html#exportbutton |
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from this, everything looks good to me 🙂
@@ -13,6 +13,7 @@ import { | |||
useResourceContext, | |||
} from 'ra-core'; | |||
import { Button, ButtonProps } from './Button'; | |||
import { UseQueryOptions } from 'react-query'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linter warning on this line:
'UseQueryOptions' is defined but never used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cleaned up
Thanks! |
meta
prop to ExportButton
and BulkExportButton
Fix #8635