diff --git a/components/toast/__tests__/__snapshots__/demo.test.web.js.snap b/components/toast/__tests__/__snapshots__/demo.test.web.js.snap index b699746bdc2..0036d419f5a 100644 --- a/components/toast/__tests__/__snapshots__/demo.test.web.js.snap +++ b/components/toast/__tests__/__snapshots__/demo.test.web.js.snap @@ -31,6 +31,18 @@ exports[`renders ./components/toast/demo/basic.md correctly 1`] = `
+ + + Cumstom Icon + + +
( @@ -43,6 +43,10 @@ const ToastExample = () => ( + + diff --git a/components/toast/demo/reload.svg b/components/toast/demo/reload.svg new file mode 100644 index 00000000000..874fb5a1e5f --- /dev/null +++ b/components/toast/demo/reload.svg @@ -0,0 +1 @@ +Share Icons Copy \ No newline at end of file diff --git a/svg.config.js b/svg.config.js index 5475172bcdf..960f7b759cf 100644 --- a/svg.config.js +++ b/svg.config.js @@ -15,6 +15,7 @@ module.exports = (config, includeDemo) => { path.resolve(__dirname, 'components/action-sheet/demo/'), path.resolve(__dirname, 'components/result/demo/'), path.resolve(__dirname, 'components/menu/demo/'), + path.resolve(__dirname, 'components/toast/demo/'), ]); } // Can not process SVG files twice