From 1988119b9510198eb007377523308e7f2c9dcae8 Mon Sep 17 00:00:00 2001 From: Tyler Jones Date: Wed, 22 Oct 2025 16:33:08 -0400 Subject: [PATCH] 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. --- src/rules/no-system-props.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rules/no-system-props.js b/src/rules/no-system-props.js index d5dfafde..79b8bf4d 100644 --- a/src/rules/no-system-props.js +++ b/src/rules/no-system-props.js @@ -23,6 +23,7 @@ const excludedComponentProps = new Map([ ['Blankslate', new Set(['border'])], ['Button', new Set(['alignContent'])], ['CircleOcticon', new Set(['size'])], + ['ConfirmationDialog', new Set(['width', 'height'])], ['Dialog', new Set(['width', 'height', 'position'])], ['IssueLabelToken', new Set(['size'])], ['Overlay', new Set(['width', 'height', 'maxHeight', 'position', 'top', 'right', 'bottom', 'left'])],