Skip to content

Commit 18f7887

Browse files
authored
no-system-props: allow color & size for Octicon (#151)
* no-system-props: allow color prop for Octicon * add size as well
1 parent 6f6af60 commit 18f7887

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rules/no-system-props.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const excludedComponentProps = new Map([
3232
['SplitPageLayout.Pane', new Set(['padding', 'position', 'width'])],
3333
['SplitPageLayout.Content', new Set(['padding', 'width'])],
3434
['StyledOcticon', new Set(['size'])],
35+
['Octicon', new Set(['size', 'color'])],
3536
['PointerBox', new Set(['bg'])],
3637
['TextInput', new Set(['size'])],
3738
['TextInputWithTokens', new Set(['size', 'maxHeight'])],

0 commit comments

Comments
 (0)