Demo-Page Repository

Home > mui-country-code-selector > CCSelectorCompositeProps > layout

CCSelectorCompositeProps.layout property

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Defines what kind of layout components the subcomponents of the composite component are wrapped in. Accepts the following values: gridLegacy, gridLegacyItems, grid, gridItems, stack, and group. Option gridLegacy wraps the components into MUI GridLegacy item components and creates a GridLegacy container around them. Option gridLegacyItems just wraps the components into GridLegacy items and leaves the container out. Options grid and gridItems do the same with MUI Grid components. Option stack wraps the components in a MUI Stack component, and with the group option the components are wrapped in a MUI FormGroup component.

Signature:

layout?: LayoutProp;