@heroicons/react
Version:
<p align="center"> <a href="https://heroicons.com" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tailwindlabs/heroicons/HEAD/.github/logo-dark.svg"> <source media="(pref
17 lines (14 loc) • 527 B
JavaScript
// The only reason this file exists is to appease Vite's optimizeDeps feature which requires a root-level import.
module.exports = new Proxy(
{},
{
get: (_, property) => {
if (property === '__esModule') {
return {}
}
throw new Error(
`Importing from \`/react\` directly is not supported. Please import from either \`/react/16/solid\`, \`/react/20/solid\`, \`/react/24/solid\`, or \`/react/24/outline\` instead.`
)
},
}
)