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