Skip to content

Commit 57cf972

Browse files
committed
fix(chakra-ui): add meta to ShowButton Props
- add changeset
1 parent ce72ded commit 57cf972

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.changeset/proud-socks-yawn.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@refinedev/chakra-ui": minor
3+
---
4+
5+
- Ensure `meta` prop is passed to the `ShowButton` component of Charka-UI
6+
7+
[Resolves #6707](https://github.com/refinedev/refine/issues/6707)

packages/chakra-ui/src/components/buttons/show/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export const ShowButton: React.FC<ShowButtonProps> = ({
3232
resource: resourceNameFromProps ?? resourceNameOrRouteName,
3333
id: recordItemId,
3434
accessControl,
35+
meta,
3536
});
3637

3738
const isDisabled = disabled || rest.disabled;

0 commit comments

Comments
 (0)