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.
2 parents 2d9f4d0 + 059f157 commit 3989677Copy full SHA for 3989677
src/atoms/icon/Icon.html
@@ -3,7 +3,7 @@
3
width="24px"
4
height="24px"
5
class="a-icon"
6
- viewBox="0 0 24 24"
+ :viewBox="viewBox"
7
:aria-labelledby="id"
8
:role="role"
9
>
src/atoms/icon/Icon.js
@@ -14,6 +14,13 @@ export default {
14
role: {
15
type: String,
16
default: 'img'
17
+ },
18
+ /**
19
+ * Icon viewBox
20
+ */
21
+ viewBox: {
22
+ type: [String, Boolean],
23
+ default: '0 0 24 24'
24
}
25
},
26
computed: {
0 commit comments