Skip to content

Commit 3989677

Browse files
authored
Merge pull request #242 from SnowdogApps/feature/51790
Feature/51790
2 parents 2d9f4d0 + 059f157 commit 3989677

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/atoms/icon/Icon.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
width="24px"
44
height="24px"
55
class="a-icon"
6-
viewBox="0 0 24 24"
6+
:viewBox="viewBox"
77
:aria-labelledby="id"
88
:role="role"
99
>

src/atoms/icon/Icon.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ export default {
1414
role: {
1515
type: String,
1616
default: 'img'
17+
},
18+
/**
19+
* Icon viewBox
20+
*/
21+
viewBox: {
22+
type: [String, Boolean],
23+
default: '0 0 24 24'
1724
}
1825
},
1926
computed: {

0 commit comments

Comments
 (0)