Skip to content

Commit da70077

Browse files
committed
Components: Document size prop
1 parent 5d3e989 commit da70077

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • packages/components/src/confirm-dialog

packages/components/src/confirm-dialog/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ type DialogInputEvent =
9191
9292
An optional `title` for the dialog. Setting a title will render it in a title bar at the top of the dialog, making it a bit taller. The bar will also include an `x` close button at the top-right corner.
9393
94+
### `size`: `'small' | 'medium' | 'large' | 'fill'`
95+
96+
- Required: No
97+
98+
Size of the underlying [`Modal`](/packages/components/src/modal/README.md). See `Modal`'s `size` prop for details.
99+
94100
### `children`: `React.ReactNode`
95101
96102
- Required: Yes

0 commit comments

Comments
 (0)