Skip to content

Commit e63653c

Browse files
authored
fix(): reflect name property as attribute (#981)
resolves #975
1 parent 4ca8139 commit e63653c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/icon/icon.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class Icon {
5555
/**
5656
* Specifies which icon to use from the built-in set of icons.
5757
*/
58-
@Prop() name?: string;
58+
@Prop({ reflect: true }) name?: string;
5959

6060
/**
6161
* Specifies the exact `src` of an SVG file to use.

0 commit comments

Comments
 (0)