Fix Storybook text knobs double-escaping text

This commit is contained in:
Evan Hahn 2021-10-18 17:43:58 -05:00 committed by GitHub
parent 54ffec00ed
commit f21ae5023a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ const makeModeKnob = pane =>
) )
); );
addDecorator(withKnobs); addDecorator(withKnobs({ escapeHTML: false }));
addDecorator((storyFn /* , context */) => { addDecorator((storyFn /* , context */) => {
const contents = storyFn(); const contents = storyFn();