OperationCode/front-end

ImageCard story's `children` control changes causes story to break

Closed this issue · 1 comments

Bug Report

What is the current behavior?

When viewing the ImageCard story and making changes to the children prop on the "Controls" addon, the story has a run-time error.

What is the expected behavior?

Storybook users should be able to adjust the children prop via the "Control" with any string.

@kylemh I believe it's because children are another component (<p>) and addon works only with a text. If I can't find a fix, would you be fine with making children just a text in this story?