Closed NilsBaumgartner1994 closed 2 years ago
Found another way of doing it, but you should be able to import HatStyle from version 1.1.1
For example using it like this
import Avatar, { HatStyle } from "@zamplyy/react-native-nice-avatar"
...
<Avatar size={50} hatStyle={HatStyle.beanie} />
Would be nice to use the Props with enums