expo / expo-pixi

Tools for using pixi.js in Expo
MIT License
304 stars 119 forks source link

'expo' does not contain a default export #137

Open dsteinman opened 4 years ago

dsteinman commented 4 years ago

Your documentation says to use this:

import Expo from 'expo';

But the first example doesn't actually use the Expo variable, it doesn't exist. The import needs to be:

import * as Expo from 'expo';