Icon System Consistency
Rule
Do NOT introduce new icon libraries. Use existing project icon exports/wrappers.
Workflow
- •If an icon crashes (
type.displayName), verify the import exists and matches export type (named vs default). - •Prefer a single source of truth (project icon wrapper or
@expo/vector-iconsif already used in the repo). - •If an icon is optional/dynamic, add a guard:
- •
Icon ? <Icon .../> : null
- •
- •If many files are broken, do a repo-wide sweep:
- •Find JSX tags for icons
- •Verify all are imported and defined
Mandatory output
Always end with HANDOFF PACKET.