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!
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

40 行
1.4KB

  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. import WBNavbar from 'wb-navbar';
  7. class WBApp extends Component {
  8. render({}, { activePage }) {
  9. return (
  10. <div>
  11. <h1>WBApp <i class="fab fa-adobe"></i></h1>
  12. <WBNavbar />
  13. <WBProjectListing arvHost="api.arkau.roche.com"
  14. arvToken="v2/arkau-gj3su-uf4hnu2o2qkvm8j/15kla38mafzq6b31d5t74ynhk6iuy32v1ticslodr0obvvhde9"
  15. itemsPerPage="5" />
  16. <WBPagination numPages={ 0 } activePage={ 0 } />
  17. <WBPagination numPages={ 100 } activePage={ activePage || 0 }
  18. onPageChanged={ i => this.setState({ 'activePage': i }) } />
  19. <WBTable
  20. columns={ [ 'Name', 'Description', 'Size' ] }
  21. rows={ [
  22. [ 'Name', 'Description', '0 bytes'],
  23. [ 'Name', 'Description', '0 bytes'],
  24. [ 'Name', 'Description', '0 bytes'],
  25. [ 'Name', 'Description', '0 bytes'],
  26. [ 'Name', 'Description', '0 bytes']
  27. ] } />
  28. <WBTabs tabs={ [
  29. { 'name': 'Ala', 'isActive': true },
  30. "Ma",
  31. { 'name': 'Kota', 'isDisabled': true }
  32. ] } onTabChanged={ idx => alert(idx) } />
  33. </div>
  34. );
  35. }
  36. }
  37. export default WBApp;