@resistdesign/voltra
    Preparing search index...

    Type Alias EasyLayoutFactoryConfig<TComponent>

    Configuration for building EasyLayout components.

    type EasyLayoutFactoryConfig<TComponent> = {
        createArea: (
            options: { area: string; base?: TComponent },
        ) => FCWithChildren;
        createLayout: (
            options: { base?: TComponent; css: string },
        ) => FCWithChildren;
    }

    Type Parameters

    • TComponent
    Index

    Properties

    createArea: (options: { area: string; base?: TComponent }) => FCWithChildren

    Create an area component with optional base component + grid area name.

    createLayout: (options: { base?: TComponent; css: string }) => FCWithChildren

    Create a layout component with optional base component + css string.