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