Skip to content

v4.0.0

Choose a tag to compare

@gmsgowtham gmsgowtham released this 03 May 09:28
· 1493 commits to main since this release

4.0.0 (2023-05-03)

Features

  • major: markdown hook support (cb87fda)

Doc: https://github.com/gmsgowtham/react-native-marked#using-hook

Breaking

  • styles.container property is removed. Use FlatList style prop to customize the container

Before version 4

<Markdown
	value={"Hello world"}
	flatListProps={{
		contentContainerStyle: {
			margin: 8,
			padding: 4,
		},
	}}
	styles={{
		container: {
			backgroundColor: theme.colors.background,
		},
	}}
/>

Version 4

<Markdown
	value={"Hello world"}
	flatListProps={{
		contentContainerStyle: {
			margin: 8,
			padding: 4,
		},
		style: {
			backgroundColor: theme.colors.background,
		}
	}}
/>