gre / react-native-view-shot

Snapshot a React Native view and save it to an image
https://github.com/gre/react-native-view-shot-example
MIT License
2.66k stars 346 forks source link

Fix `ViewShotProperties.style` type #473

Closed WazzeZ closed 1 year ago

WazzeZ commented 1 year ago

found typescript error when set style as array e.g. style={[style1, style2]}

change ViewShotProperties.style type to use same type of ViewProps.style

gre commented 1 year ago

i'll take this in, but in a near future, we will also rework the library using TypeScript.