-
-
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
make the remove icon of the file preview configurable and default to RemoveCircle #8756
Conversation
Thanks for your PR. What's the use case for this? Edit: Sorry, just saw the attached issue. Looking at it. |
OK, can you please PR against |
Bump, would you mind revisiting this PR? |
Thank you, I changed the base to |
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.
Also, can you add a story to both FileInput.stories.tsx
and ImageInput.stories.tsx
to demonstrate this new prop? Thanks!
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.
The stories are working fine 🙂 (except the image preview which I pointed out).
And I'm happy with the React component vs. element solution 🙂
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.
Nice, thanks!
Closes #8755