Advertisement
shadiff

Benefits.jsx

Sep 13th, 2023
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. import React from 'react'
  2. import { connect } from 'react-redux';
  3. import { setData } from '../../actions/schemeActions';
  4.  
  5. const Benefits = () => {
  6. return (
  7. <>
  8. <div className='categories-table'>
  9. <table>
  10. <thead>
  11. <tr>
  12. <th>Categories</th>
  13. </tr>
  14. </thead>
  15.  
  16. <tbody>
  17.  
  18. <tr>
  19. <td>Category A</td>
  20. </tr>
  21.  
  22. <tr>
  23. <td>Category B</td>
  24. </tr>
  25.  
  26. <tr>
  27. <td>Category C</td>
  28. </tr>
  29.  
  30.  
  31. </tbody>
  32. </table>
  33.  
  34. {/* End of Table 1 */}
  35. <table>
  36. <thead>
  37. <tr>
  38. <th>Category Benefits</th>
  39. <th>Eligble Dependants</th>
  40. </tr>
  41. </thead>
  42.  
  43. <tbody>
  44. <tr>
  45. <td>Outpatient</td>
  46. <td></td>
  47. </tr>
  48. <tr>
  49. <td>Inpatient</td>
  50. <td></td>
  51. </tr>
  52. <tr>
  53. <td>Optical</td>
  54. <td></td>
  55. </tr>
  56. <tr>
  57. <td>Dental</td>
  58. <td></td>
  59. </tr>
  60. </tbody>
  61. </table>
  62. </div>
  63. {/* End of Table 2 */}
  64.  
  65. <table>
  66. <thead>
  67. <tr>
  68. <th>Category Providers</th>
  69. </tr>
  70. </thead>
  71.  
  72. <tbody>
  73.  
  74. <tr>
  75. <td>Category A</td>
  76. </tr>
  77.  
  78. <tr>
  79. <td>Category B</td>
  80. </tr>
  81.  
  82. <tr>
  83. <td>Category C</td>
  84. </tr>
  85.  
  86.  
  87. </tbody>
  88. </table>
  89.  
  90. {/* End of Table 3 */}
  91. <table>
  92. <thead>
  93. <tr>
  94. <th>Category Exclusions</th>
  95. </tr>
  96. </thead>
  97.  
  98. <tbody>
  99.  
  100. <tr>
  101. <td>Category A</td>
  102. </tr>
  103.  
  104. <tr>
  105. <td>Category B</td>
  106. </tr>
  107.  
  108. <tr>
  109. <td>Category C</td>
  110. </tr>
  111.  
  112.  
  113. </tbody>
  114. </table>
  115. {/* End of Table 4 */}
  116. </>
  117.  
  118.  
  119.  
  120. )
  121. }
  122.  
  123. const mapStateToProps = (state) => ({
  124. data: state.scheme.data,
  125. });
  126.  
  127. const mapDispatchToProps = {
  128. setData,
  129. };
  130.  
  131. export default connect(mapStateToProps, mapDispatchToProps)(Benefits)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement