Ionicons SDK 40

🐛 Bug Report

Summary of Issue

Ionicons missing in SDK 40. I’m not sure if this is intentional, but it wasn’t listed in the release blog post.

Environment – output of expo diagnostics & the platform(s) you’re targeting

Reproducible Demo


import { Ionicons } from "@expo/vector-icons";

export class App extends Component {
  render() {
    return (
        <Ionicons name="md-filing" size={30} /> // doesn't work 
        <Ionicons name="md-paper" size={30} /> // doesn't work
        <Ionicons name="md-paper-plane" size={30} /> // works

Steps to Reproduce

run the code above.

Expected Behavior vs Actual Behavior

All Icons should appear, or the blog post should show that there has been updates in Ionicons too. I didn’t try other sets so I don’t know if this is an isolated issue or not. If anyone else sees this I believe this is the up to date icon directory.

1 possible answer(s) on “Ionicons SDK 40

  1. these icons don’t exist in the latest version of @expo/vector-icons is the source you should refer to. if you don’t see “@expo/vector-icons@12.0.2” in the header of this page, press cmd+shift+refresh (or whatever the equivalent is on your operating system to reload without cache)

    Screen Recording 2020-12-11 at 10 50 13 AM

    also notice that if you use typescript you can get validation for this:

    Screen Shot 2020-12-11 at 10 48 57 AM