title: Getting a value inside props using variable
body: <p>Has anyone tried getting a particular value inside a prop using a variable?</p>
  <p>Normally, getting a particular data in props goes like</p>
  <pre><code>const dataValue = props.table.data.rowData.account_number
  </code></pre>
  <p>However in this instance I need the last part of the props to be a variable, because
  the <code>account_number</code> value is not fixed and the name varies.</p>
  <p>So is there a way that I use a variable instead of adding a fixed name on the past part of the prop call?</p>
  <p>Like so:</p>
  <pre><code>let theVariable = *somethingNew*;
  
  
  const dataValue = props.table.data.rowData.theVariable
  </code></pre>