Closed andrii1 closed 2 years ago
This is working for me
"dependencies": {
"@heroicons/react": "^1.0.1",
"react": "^17",
"react-dom": "^17"
}
import { XCircleIcon } from '@heroicons/react/solid';
<XCircleIcon className="w-5 h-5 text-red-400" aria-hidden="true" />
Try to install this package.
Hey! I can't reproduce this so going to close — if this is still an issue for you please open a new issue and include a reproduction and we'll better be able to help 👍🏻
I went to my project directory, did npm install @heroicons/react, but still getting ReferenceError: PhoneIcon is not defined