lucca-front
lucca-front copied to clipboard
refactor(empty-states): make title and description optional
Description
Everything is explained in #2744
closes #2744
:woman_cook: https://lucca-front.lucca.tech/PR-2774/storybook
Will be checked by UI devs once they're back 🙂 I won't merge without making sure they're fine with what I did here.
Ping @vvalentin-lucca for a review :)
I'll have a closer look tomorrow, but if the title becomes optional, the section tag should move accordingly.
Fixed. I don't get why but we omitted to add a class on description 🤷 Not breaking but it will be necessary for product teams to add this class to have a good spacing management. https://github.com/LuccaSA/lucca-front/pull/2774/commits/9c51b5069e92c5e5321964b359d72b9b79abc7c5
:woman_cook: https://lucca-front.lucca.tech/PR-2774/storybook
:woman_cook: https://lucca-front.lucca.tech/PR-2774/storybook
:woman_cook: https://lucca-front.lucca.tech/PR-2774/storybook