@colisweb/rescript-toolkit 4.24.2 → 4.24.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "4.24.2",
3
+ "version": "4.24.4",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -3,7 +3,7 @@ module Radio = Toolkit__Ui.Radio
3
3
  type element = {
4
4
  label: React.element,
5
5
  value: string,
6
- disabled: bool,
6
+ disabled?: bool,
7
7
  }
8
8
 
9
9
  @react.component
@@ -23,7 +23,7 @@ let make = (~onChange, ~elements: array<element>, ~defaultValue=?, ~inline=false
23
23
  key={"radio-" ++ string_of_int(i)}
24
24
  value=element.value
25
25
  name
26
- disabled=element.disabled
26
+ disabled=?element.disabled
27
27
  checked={element.value === value}
28
28
  onChange={value => {
29
29
  setValue(_ => value)
@@ -6136,6 +6136,11 @@ module FaPlusCircle = {
6136
6136
  external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
6137
6137
  "FaPlusCircle"
6138
6138
  }
6139
+ module FaBarcode = {
6140
+ @module("react-icons/fa") @react.component
6141
+ external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
6142
+ "FaBarcode"
6143
+ }
6139
6144
 
6140
6145
  module BiTestTube = {
6141
6146
  @module("react-icons/bi") @react.component