Work in Progress: How to Create Repeatable Button Components, Fetching from a Database
PreviousWork in Progress: How to add Chart.js to your flowNextWork in Progress: How to Create a Global Column
Last updated
function result( {
full_list_key
} ) {
return full_list_key.map(data =>{
key: data.id,
text: `<div>
<h1>Name: ${data.name}</h1>
<h3>Email: ${data.email}</h3>
<img src=${data.img}>
</div>`data.text
})
}function result( {
full_list_key
} ) {
return full_list_key.map(data =>{
key: data.id,
text: `<div class="repeated_container">
<h1 class="repeated_name">Name: ${data.name}</h1>
<h3 class="repeated_email">Email: ${data.email}</h3>
<img class="repeated_img" src="${data.img}">
</div>`
})
}function result( {
full_list_key,
options_key
} ) {
return (full_list_key || []).find(option => option.id === options_key)
}