-
Notifications
You must be signed in to change notification settings - Fork 81
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
fix(Readme.mdx): fixed readme doc with correct import directory for custom icons #2382
Conversation
|
@Lakesxo is attempting to deploy a commit to the Contentful Apps Team on Vercel. A member of the Team first needs to authorize it. |
👋 Hi @Lakesxo, thanks for the contribution! I see your point here, I had to go back and read it again myself to understand what is going on. The code import is actually the right one, but the comment above it is not explaining what we mean by "custom icons", which leads to confusion. What the second import tries to tell us is how to render totally custom icons like something from a third-party library https://f36.contentful.com/components/icon#custom-icons-and-third-party-libraries – do you have a suggestion how we can phrase this better? Do you find |
Oh okay. Yeah i think the third-party icons phrase sounds better @denkristoffer |
@Lakesxo No you're right, that's the way to do it. Maybe we should change the first line to make it more clear too 🤔 |
@denkristoffer Yeah i think you should. Maybe something like: // Import as an object : Access import as an object:
OR Access import as a single component:
|
@Lakesxo That looks good to me 😄 Would you like to update the PR with that? |
Sure, will do @denkristoffer |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Marking pull request as stale since there was no activity for 30 days |
@all-contributors add @Lakesxo for docs |
I've put up a pull request to add @Lakesxo! 🎉 |
Thanks for the contribution @Lakesxo! I'm sorry it took so long to get merged 🙇 Thanks again! |
Purpose of PR
PR Checklist
readme.md
file(s)