@colisweb/rescript-toolkit 2.8.1 → 2.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -14,10 +14,10 @@ let make = (~title, ~description=?, ~status, ~className=?) =>
|
|
|
14
14
|
className->Option.getWithDefault(""),
|
|
15
15
|
])}>
|
|
16
16
|
{switch status {
|
|
17
|
-
| #success => <BsReactIcons.MdCheckCircle size=28 className="text-success-500" />
|
|
18
|
-
| #error => <BsReactIcons.MdWarning size=28 className="text-danger-600" />
|
|
19
|
-
| #warning => <BsReactIcons.MdWarning size=28 className="text-warning-500" />
|
|
20
|
-
| #info => <BsReactIcons.MdInfoOutline size=28 className="text-info-500" />
|
|
17
|
+
| #success => <BsReactIcons.MdCheckCircle size=28 className="text-success-500 flex-shrink-0" />
|
|
18
|
+
| #error => <BsReactIcons.MdWarning size=28 className="text-danger-600 flex-shrink-0" />
|
|
19
|
+
| #warning => <BsReactIcons.MdWarning size=28 className="text-warning-500 flex-shrink-0" />
|
|
20
|
+
| #info => <BsReactIcons.MdInfoOutline size=28 className="text-info-500 flex-shrink-0" />
|
|
21
21
|
}}
|
|
22
22
|
<div className="mx-3">
|
|
23
23
|
<div className={description->Option.isSome ? "font-bold" : ""}> title </div>
|