Column
A column is a flexible vertical container used to align child components in a column.
It inherits all the capabilities of the box component , with the direction property preset to "column".
Usage
Example
import { Column, Text } from "@tiendanube/nube-sdk-jsx";
function MyComponent() {
  return (
    <Column width={100} height={200}>
      <Text>Hello 1</Text>
      <Text>Hello 2</Text>
    </Column>
  );
}
Properties
| Property | Type | Required | Description | 
|---|---|---|---|
| children | NubeChildrenComponent | No | Array of child components nested inside the column. | 
| style | StyleSheet | No | Custom styles for the column. | 
| width | Size | No | Width of the column (e.g., "100%", "200px"). | 
| height | Size | No | Height of the column. | 
| margin | Size | No | Outer spacing around the column. | 
| padding | Size | No | Inner spacing of the column (e.g., "16px"). | 
| gap | Size | No | Spacing between child elements (e.g., "1rem"). | 
| borderRadius | Size | No | Border radius of the column (e.g., "8px"). | 
| reverse | boolean | No | Whether children should wrap to the next line when space runs out. | 
| background | string | No | Background color (can be CSS variable like "var(--primary-color)"). | 
| color | string | No | Content color (can be CSS variable like "var(--primary-color)"). | 
| alignItems | FlexItems | No | The CSS property align-items | 
| alignContent | FlexContent | No | The CSS property align-content | 
| justifyContent | FlexContent | No | The CSS property justify-content | 
| id | string | No | Optional unique identifier for the component. |