Skip to content
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

Ability to customise the close icon #160

Open
jaxtheking opened this issue May 21, 2021 · 0 comments
Open

Ability to customise the close icon #160

jaxtheking opened this issue May 21, 2021 · 0 comments

Comments

@jaxtheking
Copy link

Hi, just came across this library and I think it's great. With the plethora of modals out there, yours stands out mainly for its simplicity.
I need to customise the close icon (X) to match the designs I'm working on, but I see the SVG code is embedded in a JS private method.
Would you consider exposing the closeIcon method so that developers can use their own SVG?

Thanks,
Luca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant