Demo-Page Repository

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

CCSelectorCompositeProps.selectorSize 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.

Sets the breakpoint size props of the selector components grid item, when gridLegacy or grid layout is used. The Grid component accepts an object with keys for MUI’s responsive breakpoints (xs, sm, md, lg, and xl), and the values can be either a number, string “auto”, or a boolean. For the Grid component the object must be added to the props using key size. If the value for a breakpoint is false the prop is ignored.

See https://mui.com/material-ui/api/grid/ for more information about MUI Grid props, https://mui.com/material-ui/api/grid-legacy/ for more information about MUI GridLegacy props, and https://mui.com/material-ui/customization/breakpoints/ for more information about MUI’s responsive breakpoints.

Signature:

selectorSize?: ComponentSize | ComponentSizeGridLegacy;