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.
 
 
 
 

25 Zeilen
485 B

  1. import {createArtwork} from "../../components/artwork/ArtworkComponent";
  2. import {createPagination} from "./PaginationComponent";
  3. export default {
  4. title: 'Atoms/Pagination',
  5. args: {
  6. length: 5,
  7. current: 1,
  8. },
  9. argTypes: {
  10. length: {
  11. name: 'Seitenanzahl',
  12. },
  13. current: {
  14. name: 'Aktuelle Seite',
  15. }
  16. }
  17. }
  18. const Template = ({...args}) => {
  19. return createPagination({...args});
  20. };
  21. export const Pagination = Template.bind({});
  22. Pagination.args = {};