-
Notifications
You must be signed in to change notification settings - Fork 8.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
[Fix] fix broken story in Prompt Custom Actions #149992
Conversation
</EuiButtonEmpty>, | ||
]} | ||
actions={ | ||
<> |
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.
This is a storybook issue in not being able to read the values of the array. I added the test to confirm that the component does render as expected.
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.
Code review only, changes seem straightforward.
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Summary
This is actually an issue with Storybook not with the component. storybookjs/storybook#11554
This PR updates the README.mdx with a proper example and fixes the story because of storybook's limitation.
This PR also shows the customization of the title and body prop added in PR #149924
Checklist