Skip to content

Commit

Permalink
fix: change "message" prop type in Readme of Alert component
Browse files Browse the repository at this point in the history
  • Loading branch information
benax-se committed Nov 14, 2024
1 parent 6a09bbc commit eddfbe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Alert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"` |
Expand Down

0 comments on commit eddfbe0

Please sign in to comment.