Describe the bug
I'm creating a new component based on the columns component that should be using different templating and different styling.
However, due to the construction of the render function this is not possible due to the component's method not taking in the children argument present in nearly all other components.
The only workaround now is to use the render function without the use of super.render but this creates other problems such as a lack of builder icons displaying by the component, possibly due to the renderComponent hook not firing for the component.
Version/Branch
4.18
Expected behavior
The render function should allow proper overloading, could be done in a similar fashion to other instances ie. NestedComponent:
Describe the bug I'm creating a new component based on the columns component that should be using different templating and different styling. However, due to the construction of the
render
function this is not possible due to the component's method not taking in thechildren
argument present in nearly all other components.The only workaround now is to use the render function without the use of
super.render
but this creates other problems such as a lack of builder icons displaying by the component, possibly due to therenderComponent
hook not firing for the component.Version/Branch 4.18
Expected behavior The render function should allow proper overloading, could be done in a similar fashion to other instances ie. NestedComponent: