Skip to content

Commit 5a89de7

Browse files
authored
Update no-system-props.js
Add IconButton `size` to excluded component props
1 parent f8381ee commit 5a89de7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rules/no-system-props.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ const excludedComponentProps = new Map([
1818
['ProgressBar', new Set(['bg'])],
1919
['Spinner', new Set(['size'])],
2020
['StyledOcticon', new Set(['size'])],
21-
['PointerBox', new Set(['bg'])]
21+
['PointerBox', new Set(['bg'])],
22+
['IconButton', new Set(['size'])]
2223
])
2324

2425
const alwaysExcludedProps = new Set(['variant'])

0 commit comments

Comments
 (0)