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

[feature request]: skipCustomize prop #333

Open
RBV1 opened this issue Jan 6, 2025 · 0 comments · May be fixed by #334
Open

[feature request]: skipCustomize prop #333

RBV1 opened this issue Jan 6, 2025 · 0 comments · May be fixed by #334

Comments

@RBV1
Copy link

RBV1 commented Jan 6, 2025

Hi there, I think it would be useful to have a prop to skip the global customization function. For example, I want to remove all styles (stroke, gradients, etc.) from all icons globally, but in one specific case, I want to use the original icon. Currently, I need to create a duplicate of the icon, add a new prefix, and then filter this icon in the global customization function.

Example:

// Apply the global customization function
<Icon
    name="i-base-beautiful-icon"
/>
// Render the original icon (skip the global customization function)
<Icon
    name="i-base-beautiful-icon"
    skip-customize
/>
@RBV1 RBV1 linked a pull request Jan 6, 2025 that will close this issue
6 tasks
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

Successfully merging a pull request may close this issue.

1 participant