@sidekickicons/react-native
Version:
Heroicons and Sidekickicons as React Native components.
17 lines (14 loc) • 553 B
JavaScript
// Icons are imported from their style's directory; this file only explains that.
module.exports = new Proxy(
{},
{
get: (_, property) => {
if (property === "__esModule") {
return {};
}
throw new Error(
`Importing from \`/react-native\` directly is not supported. Please import from either \`/react-native/16/solid\`, \`/react-native/20/solid\`, \`/react-native/24/solid\`, or \`/react-native/24/outline\` instead.`
);
},
}
);