Tabindex
let props = condition ? {tabIndex: 1} : {};
let div = <div {...props} />
Witty Wryneck
let props = condition ? {tabIndex: 1} : {};
let div = <div {...props} />