The export interface ICreateColumnProps defines the properties that can be passed when creating a new CanvasColumn object. It includes two optional properties:

interface ICreateColumnProps {
    factor?: CanvasColumnFactor;
    layoutIndex?: number;
}

Properties

The factor?:CanvasColumnFactor; property in the ICreateColumnProps interface is an optional property that can be passed when creating a new CanvasColumn object. It allows you to specify the factor for the column, which determines its width relative to other columns in the section. The CanvasColumnFactor type is an enum that defines the possible values for the factor property, such as One, Two, Three, etc. By setting the factor property, you can control the width of the column in the SharePoint page layout.

layoutIndex?: number

The layoutIndex?:number; property in the ICreateColumnProps interface is an optional property that can be passed when creating a new CanvasColumn object.