ionic-team / ionic-team/ionicons
docs: document addIcons usage
- 主要言語
- TypeScript
- スター
- 18.2k
- フォーク
- 2.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Some users have expressed an interest in using functionality provided by addIcons, so it would be good to document its usage.
Use Case: https://github.com/ionic-team/ionic-framework/issues/22181 A developer wants to dynamically show an icon based upon results from a server. They could do `(result) ? heart : heartOutline`, but they do not want to have to continually import each icon. In this case, it would be helpful for them to add the icon globally via `addIcons`.
コントリビューションガイド
調査の方向性
Start by locating the addIcons entry point and the existing Ionicons usage documentation. Document how users can register icons globally for dynamic use, including the server-driven use case described in the issue; done means the addIcons workflow is explained clearly enough to follow.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100