I have created a custom component in which I wanted to use the Text Core Component. In HTL, I have added the following code for the same:
<sly data-sly-test="${wcmmode.edit}">
<div data-sly-resource="${'Text' @resourceType='/apps/my-project/components/text', decorationTagName='div'}"></div>
</sly...