Interface representing the properties for the HeroLayout component.

interface IHeroLayoutProps<Data = IAnything, Payload = IAnything> {
    baseline?: boolean;
    bottom?: string | ISizeCallback<Data>;
    className?: string;
    columns?: string;
    columnsOverride?: string;
    desktopBottom?: string | ISizeCallback<Data>;
    desktopColumns?: string;
    desktopHeight?: string | ISizeCallback<Data>;
    desktopHidden?: boolean | (payload: any) => boolean;
    desktopLeft?: string | ISizeCallback<Data>;
    desktopMaxHeight?: string | ISizeCallback<Data>;
    desktopMaxWidth?: string | ISizeCallback<Data>;
    desktopMinHeight?: string | ISizeCallback<Data>;
    desktopMinWidth?: string | ISizeCallback<Data>;
    desktopRight?: string | ISizeCallback<Data>;
    desktopTop?: string | ISizeCallback<Data>;
    desktopWidth?: string | ISizeCallback<Data>;
    disabled?: boolean;
    features?: string[];
    height?: string | ISizeCallback<Data>;
    heroInnerDesktopStyle?: any;
    heroInnerPhoneStyle?: any;
    heroInnerStyle?: any;
    heroInnerTabletStyle?: any;
    heroOuterDesktopStyle?: any;
    heroOuterPhoneStyle?: any;
    heroOuterStyle?: any;
    heroOuterTabletStyle?: any;
    hidden?: boolean | (payload: any) => boolean;
    isDisabled?: (v: Data, payload: any) => boolean;
    isReadonly?: (v: Data, payload: any) => boolean;
    isVisible?: (v: Data, payload: any) => boolean;
    left?: string | ISizeCallback<Data>;
    maxHeight?: string | ISizeCallback<Data>;
    maxWidth?: string | ISizeCallback<Data>;
    minHeight?: string | ISizeCallback<Data>;
    minWidth?: string | ISizeCallback<Data>;
    noBaseline?: boolean;
    object: Data;
    phoneBottom?: string | ISizeCallback<Data>;
    phoneColumns?: string;
    phoneHeight?: string | ISizeCallback<Data>;
    phoneHidden?: boolean | (payload: any) => boolean;
    phoneLeft?: string | ISizeCallback<Data>;
    phoneMaxHeight?: string | ISizeCallback<Data>;
    phoneMaxWidth?: string | ISizeCallback<Data>;
    phoneMinHeight?: string | ISizeCallback<Data>;
    phoneMinWidth?: string | ISizeCallback<Data>;
    phoneRight?: string | ISizeCallback<Data>;
    phoneTop?: string | ISizeCallback<Data>;
    phoneWidth?: string | ISizeCallback<Data>;
    right?: string | ISizeCallback<Data>;
    style?: any;
    sx?: any;
    tabletBottom?: string | ISizeCallback<Data>;
    tabletColumns?: string;
    tabletHeight?: string | ISizeCallback<Data>;
    tabletHidden?: boolean | (payload: any) => boolean;
    tabletLeft?: string | ISizeCallback<Data>;
    tabletMaxHeight?: string | ISizeCallback<Data>;
    tabletMaxWidth?: string | ISizeCallback<Data>;
    tabletMinHeight?: string | ISizeCallback<Data>;
    tabletMinWidth?: string | ISizeCallback<Data>;
    tabletRight?: string | ISizeCallback<Data>;
    tabletTop?: string | ISizeCallback<Data>;
    tabletWidth?: string | ISizeCallback<Data>;
    testId?: string;
    top?: string | ISizeCallback<Data>;
    width?: string | ISizeCallback<Data>;
}

Type Parameters

  • Data = IAnything

    The type of data associated with the component.

  • Payload = IAnything

    The type of payload associated with the component.

Hierarchy (View Summary)

Properties

baseline?: 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.

bottom?: string | ISizeCallback<Data>
className?: string
columns?: string

Retrieves the specific columns from a given object.

columnsOverride?: string

Represents override columns configuration for a field.

desktopBottom?: string | ISizeCallback<Data>
desktopColumns?: string

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

desktopHeight?: string | ISizeCallback<Data>
desktopHidden?: boolean | (payload: any) => boolean

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

desktopLeft?: string | ISizeCallback<Data>
desktopMaxHeight?: string | ISizeCallback<Data>
desktopMaxWidth?: string | ISizeCallback<Data>
desktopMinHeight?: string | ISizeCallback<Data>
desktopMinWidth?: string | ISizeCallback<Data>
desktopRight?: string | ISizeCallback<Data>
desktopTop?: string | ISizeCallback<Data>
desktopWidth?: string | ISizeCallback<Data>
disabled?: boolean

Represents the disabled property of a field.

features?: 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.
height?: string | ISizeCallback<Data>
heroInnerDesktopStyle?: any
heroInnerPhoneStyle?: any
heroInnerStyle?: any
heroInnerTabletStyle?: any
heroOuterDesktopStyle?: any
heroOuterPhoneStyle?: any
heroOuterStyle?: any
heroOuterTabletStyle?: any
hidden?: boolean | (payload: any) => 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.

isDisabled?: (v: Data, payload: any) => boolean

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

isReadonly?: (v: Data, payload: any) => boolean

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

Type declaration

    • (v: Data, payload: any): boolean
    • Parameters

      Returns boolean

      The value of the 'isReadonly' property.

isVisible?: (v: Data, payload: any) => boolean

Represents the isVisible property of a field in a form.

left?: string | ISizeCallback<Data>
maxHeight?: string | ISizeCallback<Data>
maxWidth?: string | ISizeCallback<Data>
minHeight?: string | ISizeCallback<Data>
minWidth?: string | ISizeCallback<Data>
noBaseline?: 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.

object: Data
phoneBottom?: string | ISizeCallback<Data>
phoneColumns?: string

Represents the phone columns configuration for a field

phoneHeight?: string | ISizeCallback<Data>
phoneHidden?: boolean | (payload: any) => boolean

Represents the phoneHidden property of a field object.

phoneLeft?: string | ISizeCallback<Data>
phoneMaxHeight?: string | ISizeCallback<Data>
phoneMaxWidth?: string | ISizeCallback<Data>
phoneMinHeight?: string | ISizeCallback<Data>
phoneMinWidth?: string | ISizeCallback<Data>
phoneRight?: string | ISizeCallback<Data>
phoneTop?: string | ISizeCallback<Data>
phoneWidth?: string | ISizeCallback<Data>
right?: string | ISizeCallback<Data>
style?: any
sx?: any

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

tabletBottom?: string | ISizeCallback<Data>
tabletColumns?: string

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

tabletHeight?: string | ISizeCallback<Data>
tabletHidden?: boolean | (payload: any) => boolean

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

tabletLeft?: string | ISizeCallback<Data>
tabletMaxHeight?: string | ISizeCallback<Data>
tabletMaxWidth?: string | ISizeCallback<Data>
tabletMinHeight?: string | ISizeCallback<Data>
tabletMinWidth?: string | ISizeCallback<Data>
tabletRight?: string | ISizeCallback<Data>
tabletTop?: string | ISizeCallback<Data>
tabletWidth?: string | ISizeCallback<Data>
testId?: string

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

top?: string | ISizeCallback<Data>
width?: string | ISizeCallback<Data>