@hmiproject/helio-sdk
    Preparing search index...

    Type Alias AdjustContainerLevelProps

    type AdjustContainerLevelProps = {
        by: number;
        children?: ReactNode;
    }
    Index

    Properties

    Properties

    by: number

    Shift the container nesting level of the children, relative to the level the component is rendered in.

    • 1 renders the children one level deeper (as if nested in another container).
    • -1 renders them one level shallower, e.g. to counteract an automatic nesting.
    • 0 is a no-op.

    Note: Once the highest container nesting level is reached, attempting to increase the level further will have no effect.

    children?: ReactNode