iteria-app / lowcode

React Lowcode - prototype, develop and maintain internal apps easier
https://iteria.app
GNU Affero General Public License v3.0
48 stars 23 forks source link

List of Cards #141

Open jozef-slezak opened 3 years ago

jozef-slezak commented 3 years ago

Goal: generate list of https://material-ui.com/components/cards/ (something like https://material-ui.com/components/grid-list/#grid-list-with-titlebars) using template. Current implementation is able to generate data grid https://example-material-ui.onrender.com/app/generated-customers for e Entity. In certain situation is better to generate list of cards.

Motivation: we use code templates help us to customize codegen without writing a code.

How it works?

What to do?

Template

Inspire by: https://material-ui.com/components/cards/#complex-interaction

Refactoring rules:

export ComponentXY = ({data}) => data.map((row) => (

...

))