-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Enable set the icons map #408
Conversation
|
Our recommended way is to override the CSS corresponding to the class name. |
I saw this issue. Why don't we want to expose the icon set map? |
} | ||
|
||
export function setIconsMap(map: Record<string, string>) { | ||
iconsMap = {...map}; | ||
} |
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.
export function setIconsMap(map: Record<string, string>) {
iconsMap = {...iconsMap, ...map};
}
Doing it this way is also fine. For small PRs, I will bundle a few features together before releasing them, rather than releasing immediately. |
Sure! no rush, for now I'm using the |
I want to override the default icons to support custom blocks. I don't know if this is the best way to achieve this. Please let me know what you think.