pavel c8f551f66a
add support for multiple icon sets through subpath exports (#579)
* improve sync

* make multi-entry

* generate

* clean up

* u

* fix attrs replace

* Create sixty-chairs-sip.md
2024-09-24 18:17:41 +02:00

16 lines
500 B
JavaScript

// @see https://github.com/tailwindlabs/heroicons/blob/master/react/index.esm.js
export default new Proxy(
{},
{
get: (_, property) => {
if (property === '__esModule') {
return {}
}
throw new Error(
`Importing from \`@status-im/icons\` directly is not supported. Please import from either \`@status-im/icons/12\`, \`@status-im/icons/16\`, \`@status-im/icons/20\`, \`@status-im/icons/reactions\` or \`@status-im/icons/social\` instead.`
)
},
}
)