SlotFactory - A factory function to create slots for a given SlotContext.

  • Parameters

    • props: Partial<ISlotFactoryProps>

      The props for the SlotFactory.

      • children

        The children to render within the SlotFactory.

      • currentSlots

        The slots to be added/overridden within the SlotFactory.

    Returns Element

    The rendered children within the SlotFactory.