many levels of conditional rendering in react code example
Example: how to change grid size with conditional expression in react
<Grid.Column width={ condition ? <column number if true> : <column number if false> } />
<Grid item xs={12} sm={isLogic ? 8 : 12}></Grid>