Function makeLayout

  • Renders a component based on input data and conditions.

    Type Parameters

    • T extends ILayout<any, T>

      The type of layout component

    Parameters

    • originalComponent: FC<T>

      The original component to be wrapped

    Returns FC<T>

    • The wrapped component