A context object that provides access to various component types used by the slot factory.

interface ISlotFactoryContext {
    Button: ComponentType<IButtonSlot>;
    CheckBox: ComponentType<ICheckBoxSlot>;
    Choose: ComponentType<IChooseSlot>;
    Combo: ComponentType<IComboSlot>;
    Complete: ComponentType<ICompleteSlot>;
    Date: ComponentType<IDateSlot>;
    Dict: ComponentType<IDictSlot>;
    File: ComponentType<IFileSlot>;
    Icon: ComponentType<IIconSlot>;
    Items: ComponentType<IItemsSlot>;
    Line: ComponentType<ILineSlot>;
    Progress: ComponentType<IProgressSlot>;
    Radio: ComponentType<IRadioSlot>;
    Rating: ComponentType<IRatingSlot>;
    Slider: ComponentType<ISliderSlot>;
    Switch: ComponentType<ISwitchSlot>;
    Text: ComponentType<ITextSlot>;
    Time: ComponentType<ITimeSlot>;
    Tree: ComponentType<ITreeSlot>;
    Typography: ComponentType<ITypographySlot>;
    YesNo: ComponentType<IYesNoSlot>;
}

Properties

Button: ComponentType<IButtonSlot>
CheckBox: ComponentType<ICheckBoxSlot>

The component type for Checkbox slots.

Choose: ComponentType<IChooseSlot>

The component type for Choose slots.

Combo: ComponentType<IComboSlot>

The component type for Combo slots.

Complete: ComponentType<ICompleteSlot>

The component type for Complete slots.

Date: ComponentType<IDateSlot>

The component type for Date slots.

Dict: ComponentType<IDictSlot>

The component type for Dict slots.

File: ComponentType<IFileSlot>

The component type for File slots.

Icon: ComponentType<IIconSlot>
Items: ComponentType<IItemsSlot>

The component type for Items slots.

Line: ComponentType<ILineSlot>

The component type for Line slots.

Progress: ComponentType<IProgressSlot>

The component type for Progress slots.

Radio: ComponentType<IRadioSlot>

The component type for Radio slots.

Rating: ComponentType<IRatingSlot>

The component type for Rating slots.

Slider: ComponentType<ISliderSlot>

The component type for Slider slots.

Switch: ComponentType<ISwitchSlot>

The component type for Switch slots.

Text: ComponentType<ITextSlot>

The component type for Text slots.

Time: ComponentType<ITimeSlot>

The component type for Time slots.

Tree: ComponentType<ITreeSlot>

The component type for Tree slots.

Typography: ComponentType<ITypographySlot>

The component type for Typography slots.

YesNo: ComponentType<IYesNoSlot>

The component type for YesNo slots.