Skip to content

Commit 4f3270a

Browse files
authored
Exclude other token components
1 parent c94f28a commit 4f3270a

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
@@ -14,8 +14,10 @@ const utilityComponents = new Set(['Box', 'Text'])
1414
const excludedComponentProps = new Map([
1515
['AnchoredOverlay', new Set(['width', 'height'])],
1616
['Avatar', new Set(['size'])],
17+
['AvatarToken', new Set(['size'])],
1718
['CircleOcticon', new Set(['size'])],
1819
['Dialog', new Set(['width', 'height'])],
20+
['IssueLabelToken', new Set(['size'])],
1921
['ProgressBar', new Set(['bg'])],
2022
['Spinner', new Set(['size'])],
2123
['StyledOcticon', new Set(['size'])],

0 commit comments

Comments
 (0)