Overview of Flex and Box layout samples
mainThe flex-and-box sample demonstrates layout management in custom cards using <Flex> and <Box> components. Both cards are designed to appear on the Deal object.
Available Cards
1. Flex playground card
File: src/app/cards/FlexPlayground.tsx
This card allows you to experiment with various Flex props in real-time. You can add or remove tiles and modify properties to understand how spacing and alignment work together in your own extensions.
2. Flex and Box example card
File: src/app/cards/FlexAndBoxExample.tsx
This is a functional example of a real estate listing card for deal records. It demonstrates how to use Flex and Box to arrange complex information and multiple components. It includes a form to add property listings, though input is not persisted across refreshes.