Imports from 'react'

Author: LGTM

import javascript

from ImportDeclaration id
where id.getImportedPath().getValue() = 'react'
select id

Description

Finds import statements that import from module 'react'