Skip to content

Releases: prismicio/prismic-react

v2.0.0-beta.1

02 Nov 02:45
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release
chore(release): 2.0.0-beta.1

v2.0.0-alpha.6

10 Oct 19:40
Compare
Choose a tag to compare
v2.0.0-alpha.6 Pre-release
Pre-release
chore(release): 2.0.0-alpha.6

v2.0.0-alpha.5

27 Sep 09:18
Compare
Choose a tag to compare
v2.0.0-alpha.5 Pre-release
Pre-release
chore(release): 2.0.0-alpha.5

v2.0.0-alpha.4

27 Sep 09:18
Compare
Choose a tag to compare
v2.0.0-alpha.4 Pre-release
Pre-release
chore(release): 2.0.0-alpha.4

v2.0.0-alpha.3

23 Aug 20:59
Compare
Choose a tag to compare
v2.0.0-alpha.3 Pre-release
Pre-release
chore(release): 2.0.0-alpha.3

v2.0.0-alpha.2

03 Aug 21:24
Compare
Choose a tag to compare
v2.0.0-alpha.2 Pre-release
Pre-release
chore(release): 2.0.0-alpha.2

v2.0.0-alpha.1

03 Aug 06:49
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release
chore(release): 2.0.0-alpha.1

v2.0.0-alpha.0

02 Aug 20:31
Compare
Choose a tag to compare
v2.0.0-alpha.0 Pre-release
Pre-release
chore(release): 2.0.0-alpha.0

v1.3.4

02 Jun 15:47
Compare
Choose a tag to compare
chore(release): 1.3.4

Added custom `elements` prop to RichText component

08 Jan 13:51
Compare
Choose a tag to compare

In order to use custom React elements without heavily relying on htmlSerializer, a new elements prop has been created:

It takes an object of React components, accessible by "Elements" type (one of heading1, em, strong...)

Example use:

<RichText elements={{ heading1: MyStyledComponent }} render={data.text} />