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!
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

37 řádky
1.2KB

  1. import { h, Component } from 'preact';
  2. import WBTabs from 'wb-tabs';
  3. import WBTable from 'wb-table';
  4. import WBPagination from 'wb-pagination';
  5. import WBProjectListing from 'wb-project-listing';
  6. class WBApp extends Component {
  7. render() {
  8. return (
  9. <div>
  10. <h1>WBApp</h1>
  11. <WBProjectListing arvHost="api.arkau.roche.com"
  12. arvToken="v2/arkau-gj3su-uf4hnu2o2qkvm8j/15kla38mafzq6b31d5t74ynhk6iuy32v1ticslodr0obvvhde9" />
  13. <WBPagination numPages={ 0 } activePage={ 0 } />
  14. <WBPagination numPages={ 100 } activePage={ 0 }
  15. onPageChanged={ idx => alert(idx) } />
  16. <WBTable
  17. columns={ [ 'Name', 'Description', 'Size' ] }
  18. rows={ [
  19. [ 'Name', 'Description', '0 bytes'],
  20. [ 'Name', 'Description', '0 bytes'],
  21. [ 'Name', 'Description', '0 bytes'],
  22. [ 'Name', 'Description', '0 bytes'],
  23. [ 'Name', 'Description', '0 bytes']
  24. ] } />
  25. <WBTabs tabs={ [
  26. { 'name': 'Ala', 'isActive': true },
  27. "Ma",
  28. { 'name': 'Kota', 'isDisabled': true }
  29. ] } onTabChanged={ idx => alert(idx) } />
  30. </div>
  31. );
  32. }
  33. }
  34. export default WBApp;