@colisweb/rescript-toolkit 4.1.2 → 4.2.1
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
|
@@ -13,6 +13,7 @@ module Header = {
|
|
|
13
13
|
~actionDisabled: option<bool>=?,
|
|
14
14
|
~containerClassName="",
|
|
15
15
|
~buttonTestId="",
|
|
16
|
+
~buttonColor=#info,
|
|
16
17
|
) =>
|
|
17
18
|
<div className={cx(["flex flex-row items-center mb-4", containerClassName])}>
|
|
18
19
|
<div
|
|
@@ -26,7 +27,7 @@ module Header = {
|
|
|
26
27
|
<Toolkit__Ui_Button
|
|
27
28
|
variant=#pill
|
|
28
29
|
size=#xs
|
|
29
|
-
color
|
|
30
|
+
color=buttonColor
|
|
30
31
|
onClick={_ => event()}
|
|
31
32
|
testId={buttonTestId}
|
|
32
33
|
disabled={actionDisabled->Option.getWithDefault(false)}
|
|
@@ -6075,3 +6075,9 @@ module FaListAlt = {
|
|
|
6075
6075
|
external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
|
|
6076
6076
|
"FaListAlt"
|
|
6077
6077
|
}
|
|
6078
|
+
|
|
6079
|
+
module FaPauseCircle = {
|
|
6080
|
+
@module("react-icons/fa") @react.component
|
|
6081
|
+
external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
|
|
6082
|
+
"FaPauseCircle"
|
|
6083
|
+
}
|