change react version eslint code example Example: eslint version check in react <div className={'sidebarOption ${selected && "sidebarOption--active"}'}>