Skip to content

Commit 1d69353

Browse files
committed
remove types in code example
1 parent 4a3f459 commit 1d69353

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/uui-icon-registry/lib/uui-icon-registry.story.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ ProvideDynamicCustomIconRegistry.parameters = {
7373
source: {
7474
code: `
7575
class MyCustomIconRegistry extends UUIIconRegistry {
76-
protected acceptIcon(iconName: string): boolean {
76+
acceptIcon(iconName) {
7777
if(iconName === "myPrefix:myIcon") {
7878
const icon = this.provideIcon(iconName);
7979
// Load SVG and set it on this icon-object:
80-
icon.svg = "<svg>...</svg>";
80+
icon.svg = '<svg>...</svg>';
8181
return true;
8282
}
8383
return false;

0 commit comments

Comments
 (0)