Would be great to have a feature that would let us link the text content with the prop just like we can link the image url to the component prop.
Currently, it’s possible through the slots but providing text content linking to prop open up a lot of new ways to design code components and pass dynamic data.
Another reason is the way current slot behaves in the Studio. Let’s consider an example where we register a code component that pass a “label” prop to the children slot.
The value is passed on to the Code component in Preview mode and it renders the dynamic value but in editor mode it will show “Enter some text”