@dhasdk/simple-ui 1.0.66 → 1.0.67

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.
Files changed (2) hide show
  1. package/README.md +8 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1469,9 +1469,9 @@ twMerge(
1469
1469
 
1470
1470
  ```ts
1471
1471
  export type RadioOption = {
1472
+ id: string;
1472
1473
  label: string;
1473
1474
  value: string;
1474
- id: string;
1475
1475
  disabled?: boolean;
1476
1476
  };
1477
1477
  ```
@@ -1484,12 +1484,12 @@ Basic RadioGroup
1484
1484
  ```jsx
1485
1485
  const radioOptions: RadioOption[] = [
1486
1486
  {
1487
- id: 0,
1487
+ id: '0',
1488
1488
  label: 'Option One',
1489
1489
  value:'some-value'
1490
1490
  },
1491
1491
  {
1492
- id: 1,
1492
+ id: '1',
1493
1493
  label: 'Option Two',
1494
1494
  value: 'some-value2'
1495
1495
  }
@@ -1508,27 +1508,27 @@ RadioGroup w/ 5 options
1508
1508
 
1509
1509
  const fiveRadioOptions: RadioOption[] = [
1510
1510
  {
1511
- id: 0,
1511
+ id: '0',
1512
1512
  label: 'Option One',
1513
1513
  value: 'some-value'
1514
1514
  },
1515
1515
  {
1516
- id: 1,
1516
+ id: '1',
1517
1517
  label: 'Option Two',
1518
1518
  value: 'some-value2'
1519
1519
  },
1520
1520
  {
1521
- id: 2,
1521
+ id: '2',
1522
1522
  label: 'Option Three',
1523
1523
  value: 'some-value3'
1524
1524
  },
1525
1525
  {
1526
- id: 3,
1526
+ id: '3',
1527
1527
  label: 'Option Four',
1528
1528
  value: 'some-value4'
1529
1529
  },
1530
1530
  {
1531
- id: 4,
1531
+ id: '4',
1532
1532
  label: 'Option Five',
1533
1533
  value: 'some-value5'
1534
1534
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhasdk/simple-ui",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "license": "MIT",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",