Benjamin-Dobell / react-native-markdown-view

MarkdownView for React Native
MIT License
190 stars 77 forks source link

Update style PropType to allow Stylesheet IDs #21

Closed jpdenford closed 6 years ago

jpdenford commented 6 years ago

When using StyleSheets, styles are referenced using number IDs eg.

<MarkdownView styles={styles.myMarkdownStyle} ...>

const styles = StyleSheet.create({
    myMarkdownStyle: {...}
})
Benjamin-Dobell commented 6 years ago

👍