Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error when Trying to use '@fluentui/react-native-icons' #621

Open
cyberscorpion opened this issue Jul 27, 2023 · 2 comments
Open

Comments

@cyberscorpion
Copy link

cyberscorpion commented Jul 27, 2023

How to use this library in react native?

I was trying to follow your documentation: https://github.com/microsoft/fluentui-system-icons/tree/main/packages/react-native-icons but it didn't work.

In our react native project we install '@fluentui/react-native-icons' using yarn add @fluentui/react-native-icons and it added "@fluentui/react-native-icons": "^2.0.208", in our package.json file.

Now when I am trying to import the icon in my component it is giving error.

import { AccessTime24Filled } from '@fluentui/react-native-icons';
<View>
    <AccessTime24Filled />
</View>

Getting error:
image
image

@rohanprasadofficial
Copy link

rohanprasadofficial commented Jul 29, 2023

@tomi-msft @williamch-ms , wondering if we can get any work around here as we're planning the path to move away to our assets store and using this package.
Thanks

@nhunghustk64
Copy link

I also had the same problem. Have you fixed it yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants