Renders an ExpansionLayout component.

  • Type Parameters

    • Data extends unknown = any

      The type of data to be used.

    Parameters

    • props: IExpansionLayoutProps<Data, any> & IExpansionLayoutPrivate

      The props for the ExpansionLayout component.

      Represents the properties for an Expansion Layout component.

      • Optionalbaseline?: boolean

        Represents an optional property baseline that is picked from the interface IField using the PickProp utility type.

        The type of data associated with the field.

        The type of payload associated with the field.

      • OptionalclassName?: string
      • Optionalcolumns?: string

        Retrieves the specific columns from a given object.

      • OptionalcolumnsOverride?: string

        Represents override columns configuration for a field.

      • Optionaldescription?: string
      • OptionaldesktopColumns?: string

        Represents the number of columns on a desktop layout for a field in a data payload object.

      • OptionaldesktopHidden?: boolean | (payload: Payload) => boolean

        Represents the optional property desktopHidden of type PickProp<IField<Data, Payload>, 'desktopHidden'>.

      • Optionaldisabled?: boolean

        Represents the disabled property of a field.

      • OptionalexpansionOpened?: boolean
      • Optionalfeatures?: string[]

        Returns the picked 'features' property from the given variable.

        The type of data.

        The type of payload.

        The type of the variable.

        The variable from which to pick the 'features' property.

        • The picked 'features' property.
      • OptionalfieldBottomMargin?: string

        Represents the optional configuration for the bottom margin of a field.

      • OptionalfieldRightMargin?: string

        Represents the right margin of a field.

      • Optionalhidden?: boolean | (payload: Payload) => boolean

        Represents the 'hidden' property of an object.

        The type of the field object.

        The type of the data object.

        The type of the payload object.

      • OptionalisDisabled?: (v: Data, payload: Payload) => boolean

        Represents the isDisabled property of a field in a form. The isDisabled property determines whether the field is disabled or not.

      • OptionalisReadonly?: (v: Data, payload: Payload) => boolean

        Retrieves the value of the 'isReadonly' property from the given variable.

      • OptionalisVisible?: (v: Data, payload: Payload) => boolean

        Represents the isVisible property of a field in a form.

      • OptionalnoBaseline?: boolean

        Represents an optional property noBaseline that is picked from the interface IField using the PickProp utility type.

        The type of data associated with the field.

        The type of payload associated with the field.

      • OptionalphoneColumns?: string

        Represents the phone columns configuration for a field

      • OptionalphoneHidden?: boolean | (payload: Payload) => boolean

        Represents the phoneHidden property of a field object.

      • Optionalstyle?: any
      • Optionalsx?: any

        Represents the 'sx' property of the 'PickProp' type.

      • OptionaltabletColumns?: string

        Represents the number of columns for the "tablet" viewport size of a field. This property is optional.

      • OptionaltabletHidden?: boolean | (payload: Payload) => boolean

        Represents the optional property 'tabletHidden' in a field object.

      • OptionaltestId?: string

        Идентификатор для отладки json шаблона

      • Optionaltitle?: string
      • columns

        The number of columns for the Group component.

      • columnsOverride

        The number of columns to override the Group's columns prop.

      • sx

        The style for the ExpansionLayout component.

      • phoneColumns

        The number of columns to use on phone devices.

      • tabletColumns

        The number of columns to use on tablet devices.

      • desktopColumns

        The number of columns to use on desktop devices.

      • isBaselineAlign

        A boolean value indicating whether to align items to the baseline.

      • fieldRightMargin

        The right margin for the fields within the Group component.

      • fieldBottomMargin

        The bottom margin for the fields within the Group component.

      • style

        The style object for the ExpansionLayout component.

      • className

        The class name for the ExpansionLayout component.

      • children

        The children for the ExpansionLayout component.

      • title

        The title for the Expansion component.

      • description

        The description for the Expansion component.

      • expansionOpened

        A boolean value indicating whether the Expansion should be opened.

      • outlinePaper

        A boolean value indicating whether to show an outline paper style for the Expansion.

      • transparentPaper

        A boolean value indicating whether to show a transparent paper style for the Expansion.

    Returns Element

    • The rendered ExpansionLayout component.

Properties

Properties

displayName: string