Skip to content

Commit a699300

Browse files
authored
Add iconRotate prop to button (#599)
1 parent 6e72dcd commit a699300

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/button/button.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const Button = ({
1616
iconSize,
1717
iconWidth,
1818
iconHeight,
19+
iconRotate = 0,
1920
children = label,
2021
ref,
2122
...rest
@@ -42,6 +43,7 @@ export const Button = ({
4243
name={icon}
4344
width={iconWidth}
4445
height={iconHeight}
46+
rotate={iconRotate}
4547
/>
4648
</Flex>
4749
)}

0 commit comments

Comments
 (0)