Skip to content

Commit 3551e09

Browse files
authored
no-system-props: Exclude some PageLayout props
1 parent 443499f commit 3551e09

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
@@ -14,6 +14,7 @@ const utilityComponents = new Set(['Box', 'Text'])
1414
const excludedComponentProps = new Map([
1515
['AnchoredOverlay', new Set(['width', 'height'])],
1616
['Dialog', new Set(['width', 'height'])],
17+
['PageLayout', new Set(['padding'])]
1718
['ProgressBar', new Set(['bg'])],
1819
['PointerBox', new Set(['bg'])]
1920
])

0 commit comments

Comments
 (0)