Changed the type of the title prop of the AccordionSection to be ReactNode instead of string. Since ReactNode is a superset of string, it is automatically backward-compatible and non-breaking.
QA
Storybook
To see rendered examples of all react-components, run:
yarn start
QA in your project
from react-components run:
yarn build
npm pack
Install the resulting tarball in your project with:
yarn add <path-to-tarball>
QA steps
Check the newly added accordion example in Storybook.
Percy steps
One example was added to the accordion page of the Storybook, so that is likely to be flagged as a diff by Percy. Nothing else should be flagged.
Done
title
prop of theAccordionSection
to beReactNode
instead ofstring
. SinceReactNode
is a superset ofstring
, it is automatically backward-compatible and non-breaking.QA
Storybook
To see rendered examples of all react-components, run:
QA in your project
from
react-components
run:Install the resulting tarball in your project with:
QA steps
Percy steps