Skip to content

Commit 1988119

Browse files
authored
Add width and height props to no-system-props for ConfirmationDialog
Adds the `width` and `height` props to the `no-system-props` rule for the `ConfirmationDialog` component.
1 parent 368f49c commit 1988119

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
@@ -23,6 +23,7 @@ const excludedComponentProps = new Map([
2323
['Blankslate', new Set(['border'])],
2424
['Button', new Set(['alignContent'])],
2525
['CircleOcticon', new Set(['size'])],
26+
['ConfirmationDialog', new Set(['width', 'height'])],
2627
['Dialog', new Set(['width', 'height', 'position'])],
2728
['IssueLabelToken', new Set(['size'])],
2829
['Overlay', new Set(['width', 'height', 'maxHeight', 'position', 'top', 'right', 'bottom', 'left'])],

0 commit comments

Comments
 (0)