From 1c986519f6189ca17f2b854782056331f517f4cc Mon Sep 17 00:00:00 2001 From: Aleksandr Gumroian Date: Mon, 14 Sep 2020 12:08:53 +0200 Subject: [PATCH] Fix Alert's dismissible class condition --- src/bootstrap/Alert.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/Alert.js b/src/bootstrap/Alert.js index f460931..d0f3acc 100644 --- a/src/bootstrap/Alert.js +++ b/src/bootstrap/Alert.js @@ -37,7 +37,11 @@ Alert.defaultProps = { export function Alert({ type, onDismiss, children }) { return ( -
+
{onDismiss ? (