Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • sam how 14 posts 94 karma points
    Jun 30, 2023 @ 09:31
    sam how
    0

    I am trying to render the data from the API to the blockgrid components and I'm having hard time rendering the data. Is this possible? If anyone can provide a sample that would be great.

  • yenna sen 1 post 71 karma points
    Jul 07, 2023 @ 10:08
    yenna sen
    0

    According to my knowledge you can customize the structure and appearance of each block by modifying the JSX code within the map function. official site This is where you can access the individual properties of each item and render them accordingly.

    Note: Make sure to replace 'your-api-endpoint' with the actual API endpoint URL from which you want to fetch the data. Additionally, adjust the structure of the item object to match the properties you expect to receive from the API response.

  • sam how 14 posts 94 karma points
    Jul 14, 2023 @ 15:38
    sam how
    0

    I used View Component to Render the data from the API and invoked the view component inside blockgrid. It works perfectly.

Please Sign in or register to post replies

Write your reply to:

Draft