I\'m trying to make a component that will render wrapper elements of its children however it needs to know if elements are rendered as its children. I have functions ignoring Sw