IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1KB

  1. import { h, Component } from 'preact';
  2. import WBTabs from 'wb-tabs';
  3. class WBApp extends Component {
  4. render() {
  5. return (
  6. <div>
  7. <h1>WBApp</h1>
  8. <table class="table table-striped table-hover">
  9. <thead class="thead-light">
  10. <tr>
  11. <th>Name</th>
  12. <th>Description</th>
  13. <th>Size</th>
  14. </tr>
  15. </thead>
  16. <tbody>
  17. <tr>
  18. <td>Name</td>
  19. <td>Description</td>
  20. <td>0 bytes</td>
  21. </tr>
  22. <tr>
  23. <td>Name</td>
  24. <td>Description</td>
  25. <td>0 bytes</td>
  26. </tr>
  27. <tr>
  28. <td>Name</td>
  29. <td>Description</td>
  30. <td>0 bytes</td>
  31. </tr>
  32. </tbody>
  33. </table>
  34. <WBTabs tabs={ [
  35. { 'name': 'Ala', 'isActive': true },
  36. "Ma",
  37. { 'name': 'Kota', 'isDisabled': true }
  38. ] } onTabChanged={ idx => alert(idx) } />
  39. </div>
  40. );
  41. }
  42. }
  43. export default WBApp;