Skip to content

Commit

Permalink
feat(alwatr-icon): url-prefix attr
Browse files Browse the repository at this point in the history
  • Loading branch information
MM25Zamanian committed Oct 31, 2022
1 parent b1ce3df commit 3af2dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/icon/src/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class AlwatrIcon extends AlwatrElement {
];

@property() name?: string;
@property() preurl = 'https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/';
@property({attribute: 'url-prefix'}) urlPrefix = 'https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/';

override render(): TemplateResult {
return html`<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512">
Expand Down

0 comments on commit 3af2dd4

Please sign in to comment.