Skip to content

Commit 2b83dab

Browse files
committed
fix: add missing content attr type to Alert component
1 parent 8415d22 commit 2b83dab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • framework/core/js/src/common/components

framework/core/js/src/common/components/Alert.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ export interface AlertAttrs extends ComponentAttrs {
1414
title?: Mithril.Children;
1515
/** Icon used next to the title. Optional. */
1616
icon?: string;
17+
/** Content of the alert. */
18+
content?: Mithril.Children;
1719
/** An array of controls to show in the alert. */
1820
controls?: Mithril.Children;
1921
/** Whether or not the alert can be dismissed. */

0 commit comments

Comments
 (0)