We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a3f459 commit 1d69353Copy full SHA for 1d69353
packages/uui-icon-registry/lib/uui-icon-registry.story.ts
@@ -73,11 +73,11 @@ ProvideDynamicCustomIconRegistry.parameters = {
73
source: {
74
code: `
75
class MyCustomIconRegistry extends UUIIconRegistry {
76
- protected acceptIcon(iconName: string): boolean {
+ acceptIcon(iconName) {
77
if(iconName === "myPrefix:myIcon") {
78
const icon = this.provideIcon(iconName);
79
// Load SVG and set it on this icon-object:
80
- icon.svg = "<svg>...</svg>";
+ icon.svg = '<svg>...</svg>';
81
return true;
82
}
83
return false;
0 commit comments