From eddfbe0fde3f679ad44a41e01386fca5e005a58a Mon Sep 17 00:00:00 2001 From: benaxse Date: Thu, 14 Nov 2024 16:15:50 +0300 Subject: [PATCH] fix: change "message" prop type in Readme of Alert component --- src/components/Alert/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Alert/README.md b/src/components/Alert/README.md index af1d08b888..dc558652ca 100644 --- a/src/components/Alert/README.md +++ b/src/components/Alert/README.md @@ -228,7 +228,7 @@ LANDING_BLOCK--> | layout | Used to direct users to content if there is property `actions` with buttons | `"vertical"` `"horizontal"` | `"vertical"` | | corners | Used for round/square corners of the alert window | `"rounded"` `"square"` | `"rounded"` | | title | Title of the alert | `string` | | -| message | Message of the alert | `string` | | +| message | Message of the alert | `React.ReactNode` | | | onClose | A callback function called when the user clicks the alert's close button | `Function` | | | actions | Array of buttons or full custom components | `React.ReactNode` `"AlertAction"` | | | align | Determines how content inside the Alert component is vertically aligned | `"center"` `"baseline"` | `"baseline"` |