Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

82 linhas
3.8 KiB

  1. import React from 'react';
  2. import { resetIdCounter, Tab, Tabs, TabList, TabPanel } from 'react-tabs';
  3. resetIdCounter();
  4. const ProductsDetailsTabs = () => {
  5. return (
  6. <div className="products-details-tabs">
  7. <Tabs>
  8. <TabList>
  9. <Tab>Description</Tab>
  10. <Tab>Additional Information</Tab>
  11. <Tab>Review</Tab>
  12. </TabList>
  13. <TabPanel>
  14. <div className="products-description">
  15. <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. Lorem Ipsum is simply dummy text of the printing.</p>
  16. </div>
  17. </TabPanel>
  18. <TabPanel>
  19. <div className="products-description">
  20. <ul className="additional-information">
  21. <li><span>Brand</span> ThemeForest</li>
  22. <li><span>Color</span> Brown</li>
  23. <li><span>Size</span> Large, Medium</li>
  24. <li><span>Weight</span> 27 kg</li>
  25. <li><span>Dimensions</span> 16 x 22 x 123 cm</li>
  26. </ul>
  27. </div>
  28. </TabPanel>
  29. <TabPanel>
  30. <div className="products-reviews">
  31. <h3>Customer Reviews</h3>
  32. <p>There are no reviews yet.</p>
  33. <form className="review-form">
  34. <p>Rate this item:</p>
  35. <div className="star-rating">
  36. <i className='bx bxs-star'></i>
  37. <i className='bx bxs-star'></i>
  38. <i className='bx bxs-star'></i>
  39. <i className='bx bxs-star'></i>
  40. <i className='bx bxs-star'></i>
  41. <p>Very good product!</p>
  42. </div>
  43. <div className="row">
  44. <div className="col-lg-12">
  45. <div className="form-group">
  46. <textarea name="review-message" id="message" cols="30" rows="4" placeholder="Write your review*" className="form-control"></textarea>
  47. </div>
  48. </div>
  49. <div className="col-lg-6 col-md-6">
  50. <div className="form-group">
  51. <input type="text" placeholder="Name*" className="form-control" />
  52. </div>
  53. </div>
  54. <div className="col-lg-6 col-md-6">
  55. <div className="form-group">
  56. <input type="email" placeholder="Email*" className="form-control" />
  57. </div>
  58. </div>
  59. <div className="col-lg-12 col-md-12">
  60. <button type="submit" className="btn btn-primary">Submit</button>
  61. </div>
  62. </div>
  63. </form>
  64. </div>
  65. </TabPanel>
  66. </Tabs>
  67. </div>
  68. )
  69. }
  70. export default ProductsDetailsTabs;