Skip to content

Commit 3a5027e

Browse files
committed
Add text input components to allow list
1 parent 6aa1d90 commit 3a5027e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rules/no-system-props.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ const excludedComponentProps = new Map([
3030
['SplitPageLayout.Content', new Set(['padding', 'width'])],
3131
['StyledOcticon', new Set(['size'])],
3232
['PointerBox', new Set(['bg'])],
33+
['TextInput', new Set(['size'])],
34+
['TextInputWithTokens', new Set(['size', 'maxHeight'])],
3335
['Token', new Set(['size'])],
3436
['PageLayout', new Set(['padding'])],
3537
['PageLayout.Header', new Set(['padding'])],

0 commit comments

Comments
 (0)