Content property from instance to parent component

I have a input field component which has content property for it’s text.

I would like to use that input component in something like a table cell, which has both plain text and that input instance as vairants. I would like to use only one variable called Value and I want it to work for both the plain text and input field value.

Do you guys recommend any solution for this usecase, is it a valid problem to be solved ?