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

View File

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