Skip to content

Commit 6fe481c

Browse files
authored
add size as well
1 parent 597f0eb commit 6fe481c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rules/no-system-props.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +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(['color'])],
36-
no-system-props: allow maxWidth prop for Truncate
35+
['Octicon', new Set(['size', 'color'])],
3736
['PointerBox', new Set(['bg'])],
3837
['TextInput', new Set(['size'])],
3938
['TextInputWithTokens', new Set(['size', 'maxHeight'])],

0 commit comments

Comments
 (0)