Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit d56aa58

Browse files
author
Mike England
committed
Fix Icon prop order
1 parent d0cd310 commit d56aa58

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/atoms/Icon/Icon.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ function sizeToPx(size) {
2929
* @param props0.ariaHidden
3030
*/
3131
export default function Icon({
32+
ariaHidden,
33+
className,
3234
icon,
3335
size,
3436
style,
35-
title,
36-
className,
37-
ariaHidden
37+
title
3838
}) {
3939
return (
4040
<svg
@@ -55,8 +55,8 @@ Icon.propTypes = {
5555
ariaHidden: PropTypes.bool,
5656
className: PropTypes.string,
5757
icon: PropTypes.string.isRequired,
58-
style: PropTypes.oneOf(['fill', 'line']),
5958
size: PropTypes.oneOf(['sm', 'md', 'lg']),
59+
style: PropTypes.oneOf(['fill', 'line']),
6060
title: PropTypes.string.isRequired
6161
}
6262

0 commit comments

Comments
 (0)