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!
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

33 Zeilen
963B

  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. class WBApp extends Component {
  6. render() {
  7. return (
  8. <div>
  9. <h1>WBApp</h1>
  10. <WBPagination numPages={ 100 } activePage={ 0 }
  11. onPageChanged={ idx => alert(idx) } />
  12. <WBTable
  13. columns={ [ 'Name', 'Description', 'Size' ] }
  14. rows={ [
  15. [ 'Name', 'Description', '0 bytes'],
  16. [ 'Name', 'Description', '0 bytes'],
  17. [ 'Name', 'Description', '0 bytes'],
  18. [ 'Name', 'Description', '0 bytes'],
  19. [ 'Name', 'Description', '0 bytes']
  20. ] } />
  21. <WBTabs tabs={ [
  22. { 'name': 'Ala', 'isActive': true },
  23. "Ma",
  24. { 'name': 'Kota', 'isDisabled': true }
  25. ] } onTabChanged={ idx => alert(idx) } />
  26. </div>
  27. );
  28. }
  29. }
  30. export default WBApp;