diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/Examples.js b/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/Examples.js index 5f66c02c88c..bff8cf075fa 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/Examples.js +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/Examples.js @@ -49,16 +49,36 @@ class Example extends PureComponent { {/* @jsx */ ` const CustomStatus = () => ( <> - My info with a link and more text + My info + with a link + and more text ) render( } status_state="info" value="Input value" /> +) + `} + + + {/* @jsx */ ` +const myHTML = \` + My HTML + with a link + and more text +\` +const CustomStatus = () => +render( + + + ) `} diff --git a/packages/dnb-ui-lib/src/components/form-status/__tests__/__snapshots__/form-status-screenshot-test-js-form-status-screenshot-have-to-match-custom-content-1-f2fd5.snap.png b/packages/dnb-ui-lib/src/components/form-status/__tests__/__snapshots__/form-status-screenshot-test-js-form-status-screenshot-have-to-match-custom-content-1-f2fd5.snap.png index 4ba640cbe4e..8e70b851a72 100644 Binary files a/packages/dnb-ui-lib/src/components/form-status/__tests__/__snapshots__/form-status-screenshot-test-js-form-status-screenshot-have-to-match-custom-content-1-f2fd5.snap.png and b/packages/dnb-ui-lib/src/components/form-status/__tests__/__snapshots__/form-status-screenshot-test-js-form-status-screenshot-have-to-match-custom-content-1-f2fd5.snap.png differ