Closed timmywil closed 3 years ago
This PR exports the enums so they can be imported separately. It also removes the unnecessary getter accessors.
This makes it so they can be imported both ways:
import Spokestack from 'react-native-spokestack' console.log(Spokestack.TraceLevel) // works
import { TraceLevel } from 'react-native-spokestack' console.log(TraceLevel) // also works
This PR exports the enums so they can be imported separately. It also removes the unnecessary getter accessors.
This makes it so they can be imported both ways: