In a React app I want to render
"<td className="RuleRow-name">{{`rulesD.${this.props.name}`}}</td>"
So, if this.props.name is "john" it should render the value of rulesD.john.
I've tried composing the template literal in a few different ways but nothing works.