omim - build docs

This commit is contained in:
dntzhang 2019-06-15 17:22:36 +08:00
parent 8e1af02f86
commit 833f4a0ef5
24 changed files with 39 additions and 40 deletions

View File

@ -1,12 +1,12 @@
{
"cn.css": "static/css/cn.4dd07f49.css",
"cn.css.map": "static/css/cn.4dd07f49.css.map",
"cn.js": "static/js/cn.9f8b8353.js",
"cn.js.map": "static/js/cn.9f8b8353.js.map",
"cn.js": "static/js/cn.eb488e02.js",
"cn.js.map": "static/js/cn.eb488e02.js.map",
"index.css": "static/css/index.4dd07f49.css",
"index.css.map": "static/css/index.4dd07f49.css.map",
"index.js": "static/js/index.80bc2275.js",
"index.js.map": "static/js/index.80bc2275.js.map",
"index.js": "static/js/index.1ae9695c.js",
"index.js.map": "static/js/index.1ae9695c.js.map",
"static/js/0.68c12e8d.chunk.js": "static/js/0.68c12e8d.chunk.js",
"static/js/0.68c12e8d.chunk.js.map": "static/js/0.68c12e8d.chunk.js.map",
"static/js/1.759c1ca5.chunk.js": "static/js/1.759c1ca5.chunk.js",
@ -19,10 +19,10 @@
"static/js/101.8766f7bb.chunk.js.map": "static/js/101.8766f7bb.chunk.js.map",
"static/js/102.ac3be313.chunk.js": "static/js/102.ac3be313.chunk.js",
"static/js/102.ac3be313.chunk.js.map": "static/js/102.ac3be313.chunk.js.map",
"static/js/103.14dc374c.chunk.js": "static/js/103.14dc374c.chunk.js",
"static/js/103.14dc374c.chunk.js.map": "static/js/103.14dc374c.chunk.js.map",
"static/js/104.341f9ce9.chunk.js": "static/js/104.341f9ce9.chunk.js",
"static/js/104.341f9ce9.chunk.js.map": "static/js/104.341f9ce9.chunk.js.map",
"static/js/103.c72365da.chunk.js": "static/js/103.c72365da.chunk.js",
"static/js/103.c72365da.chunk.js.map": "static/js/103.c72365da.chunk.js.map",
"static/js/104.f2217ba6.chunk.js": "static/js/104.f2217ba6.chunk.js",
"static/js/104.f2217ba6.chunk.js.map": "static/js/104.f2217ba6.chunk.js.map",
"static/js/105.cb506b6c.chunk.js": "static/js/105.cb506b6c.chunk.js",
"static/js/105.cb506b6c.chunk.js.map": "static/js/105.cb506b6c.chunk.js.map",
"static/js/106.584bbeb0.chunk.js": "static/js/106.584bbeb0.chunk.js",
@ -127,10 +127,10 @@
"static/js/4.8f014cf8.chunk.js.map": "static/js/4.8f014cf8.chunk.js.map",
"static/js/40.c21360b5.chunk.js": "static/js/40.c21360b5.chunk.js",
"static/js/40.c21360b5.chunk.js.map": "static/js/40.c21360b5.chunk.js.map",
"static/js/41.61129729.chunk.js": "static/js/41.61129729.chunk.js",
"static/js/41.61129729.chunk.js.map": "static/js/41.61129729.chunk.js.map",
"static/js/42.8db88734.chunk.js": "static/js/42.8db88734.chunk.js",
"static/js/42.8db88734.chunk.js.map": "static/js/42.8db88734.chunk.js.map",
"static/js/41.cb75788c.chunk.js": "static/js/41.cb75788c.chunk.js",
"static/js/41.cb75788c.chunk.js.map": "static/js/41.cb75788c.chunk.js.map",
"static/js/42.21c0d3d5.chunk.js": "static/js/42.21c0d3d5.chunk.js",
"static/js/42.21c0d3d5.chunk.js.map": "static/js/42.21c0d3d5.chunk.js.map",
"static/js/43.3bac18ea.chunk.js": "static/js/43.3bac18ea.chunk.js",
"static/js/43.3bac18ea.chunk.js.map": "static/js/43.3bac18ea.chunk.js.map",
"static/js/44.8bc80906.chunk.js": "static/js/44.8bc80906.chunk.js",

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/cn.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/cn.9f8b8353.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/cn.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/cn.eb488e02.js"></script></body></html>

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/index.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.80bc2275.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="shortcut icon" href="./favicon.ico"><link rel="stylesheet" href="./highlight/prism.css"><style>*{-webkit-tap-highlight-color:rgba(255,255,255,0);-moz-user-focus:none}</style><title>Omim - Material Design for the Web, powered by Omi.</title><link href="./static/css/index.4dd07f49.css" rel="stylesheet"></head><body><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-shim.min.js"></script><script src="./highlight/prism.js"></script><script src="./js/remarkable.min.js"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/index.1ae9695c.js"></script></body></html>

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"version":3,"sources":["../static/js/103.14dc374c.chunk.js","docs/en/icon.md"],"names":["webpackJsonp","57","module","exports"],"mappings":"AAAAA,cAAc,MAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/103.14dc374c.chunk.js","sourcesContent":["webpackJsonp([103],{\n\n/***/ 57:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Icon \\n\\nIcon using svg.\\n\\n## Usage\\n\\n```html\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\\n</m-icon>\\n\\n```\\n\\nIt can also support multiple paths:\\n\\n```html\\n<m-icon \\n paths=\\\"[{ \\n color: '#F98080', \\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n }, \\n { \\n color: '#F95050', \\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n }]\\\">\\n</m-icon>\\n```\\n\\n## Use in omi\\n\\nJSX:\\n\\n```jsx\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\\n```\\n\\nSupport multiple paths:\\n\\n```jsx\\n<m-icon paths={[{\\n color: '#F98080',\\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n}, {\\n color: '#F95050',\\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n}]} />\\n```\\n\\n## API\\n\\n### Props\\n\\n| **Name** | **Type** | **Defaults** | **Details** |\\n| ------------- |:-------------:|:-----:|:-------------:|\\n| paths | object | -- | Support for multiple icon path |\\n| path | string | -- | Icon path value |\\n| view | number | 1024 | View size |\\n| scale | number | 2 | Icon magnification |\\n| color | string | black | color |\\n| rotate | bool | false | Rotate transform |\\n\\n* [→ You can use antd's SVG path directly](https://ant.design/components/icon/)\\n* [→ You can find the path in the github of andt icons](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\\n\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/103.14dc374c.chunk.js","module.exports = \"## Icon \\n\\nIcon using svg.\\n\\n## Usage\\n\\n```html\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\\n</m-icon>\\n\\n```\\n\\nIt can also support multiple paths:\\n\\n```html\\n<m-icon \\n paths=\\\"[{ \\n color: '#F98080', \\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n }, \\n { \\n color: '#F95050', \\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n }]\\\">\\n</m-icon>\\n```\\n\\n## Use in omi\\n\\nJSX:\\n\\n```jsx\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\\n```\\n\\nSupport multiple paths:\\n\\n```jsx\\n<m-icon paths={[{\\n color: '#F98080',\\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n}, {\\n color: '#F95050',\\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n}]} />\\n```\\n\\n## API\\n\\n### Props\\n\\n| **Name** | **Type** | **Defaults** | **Details** |\\n| ------------- |:-------------:|:-----:|:-------------:|\\n| paths | object | -- | Support for multiple icon path |\\n| path | string | -- | Icon path value |\\n| view | number | 1024 | View size |\\n| scale | number | 2 | Icon magnification |\\n| color | string | black | color |\\n| rotate | bool | false | Rotate transform |\\n\\n* [→ You can use antd's SVG path directly](https://ant.design/components/icon/)\\n* [→ You can find the path in the github of andt icons](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\\n\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/icon.md\n// module id = 57\n// module chunks = 103"],"sourceRoot":""}

View File

@ -1,2 +1,2 @@
webpackJsonp([103],{57:function(n,t){n.exports="## Icon \n\nIcon using svg.\n\n## Usage\n\n```html\n<m-icon \n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\n</m-icon>\n\n```\n\nIt can also support multiple paths:\n\n```html\n<m-icon \n paths=\"[{ \n color: '#F98080', \n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\n }, \n { \n color: '#F95050', \n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\n }]\">\n</m-icon>\n```\n\n## Use in omi\n\nJSX:\n\n```jsx\n<m-icon \n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\n```\n\nSupport multiple paths:\n\n```jsx\n<m-icon paths={[{\n color: '#F98080',\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\n}, {\n color: '#F95050',\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\n}]} />\n```\n\n## API\n\n### Props\n\n| **Name** | **Type** | **Defaults** | **Details** |\n| ------------- |:-------------:|:-----:|:-------------:|\n| paths | object | -- | Support for multiple icon path |\n| path | string | -- | Icon path value |\n| view | number | 1024 | View size |\n| scale | number | 2 | Icon magnification |\n| color | string | black | color |\n| rotate | bool | false | Rotate transform |\n\n* [\u2192 You can use antd's SVG path directly](https://ant.design/components/icon/)\n* [\u2192 You can find the path in the github of andt icons](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\n\n"}});
//# sourceMappingURL=103.14dc374c.chunk.js.map
webpackJsonp([103],{57:function(n,t){n.exports="## Icon \n\nIcon using svg.\n\n## Usage\n\n```html\n<m-icon \n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\n</m-icon>\n\n```\n\nIt can also support multiple paths:\n\n```html\n<m-icon \n paths=\"[{ \n color: '#F98080', \n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\n }, \n { \n color: '#F95050', \n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\n }]\">\n</m-icon>\n```\n\n## Use in omi\n\nJSX:\n\n```jsx\n<m-icon \n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\n```\n\nSupport multiple paths:\n\n```jsx\n<m-icon paths={[{\n color: '#F98080',\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\n}, {\n color: '#F95050',\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\n}]} />\n```\n\n## API\n\n### Props\n\n| **Name** | **Type** | **Defaults** | **Details** |\n| ------------- |:-------------:|:-----:|:-------------:|\n| paths | object | -- | Support for multiple icon path |\n| path | string | -- | Icon path value |\n| view | number | 1024 | View size |\n| scale | number | 2 | Icon magnification |\n| color | string | black | color |\n| rotate | bool | false | Rotate transform |\n\n* [\u2192 SVG path by antd](https://ant.design/components/icon/) & [\u2192 Github](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\n* [\u2192 SVG path by Material Icons](https://material.io/tools/icons/?style=baseline)\n\n"}});
//# sourceMappingURL=103.c72365da.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../static/js/103.c72365da.chunk.js","docs/en/icon.md"],"names":["webpackJsonp","57","module","exports"],"mappings":"AAAAA,cAAc,MAERC,GACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/103.c72365da.chunk.js","sourcesContent":["webpackJsonp([103],{\n\n/***/ 57:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Icon \\n\\nIcon using svg.\\n\\n## Usage\\n\\n```html\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\\n</m-icon>\\n\\n```\\n\\nIt can also support multiple paths:\\n\\n```html\\n<m-icon \\n paths=\\\"[{ \\n color: '#F98080', \\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n }, \\n { \\n color: '#F95050', \\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n }]\\\">\\n</m-icon>\\n```\\n\\n## Use in omi\\n\\nJSX:\\n\\n```jsx\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\\n```\\n\\nSupport multiple paths:\\n\\n```jsx\\n<m-icon paths={[{\\n color: '#F98080',\\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n}, {\\n color: '#F95050',\\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n}]} />\\n```\\n\\n## API\\n\\n### Props\\n\\n| **Name** | **Type** | **Defaults** | **Details** |\\n| ------------- |:-------------:|:-----:|:-------------:|\\n| paths | object | -- | Support for multiple icon path |\\n| path | string | -- | Icon path value |\\n| view | number | 1024 | View size |\\n| scale | number | 2 | Icon magnification |\\n| color | string | black | color |\\n| rotate | bool | false | Rotate transform |\\n\\n* [→ SVG path by antd](https://ant.design/components/icon/) & [→ Github](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\\n* [→ SVG path by Material Icons](https://material.io/tools/icons/?style=baseline)\\n\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/103.c72365da.chunk.js","module.exports = \"## Icon \\n\\nIcon using svg.\\n\\n## Usage\\n\\n```html\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\\n</m-icon>\\n\\n```\\n\\nIt can also support multiple paths:\\n\\n```html\\n<m-icon \\n paths=\\\"[{ \\n color: '#F98080', \\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n }, \\n { \\n color: '#F95050', \\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n }]\\\">\\n</m-icon>\\n```\\n\\n## Use in omi\\n\\nJSX:\\n\\n```jsx\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\\n```\\n\\nSupport multiple paths:\\n\\n```jsx\\n<m-icon paths={[{\\n color: '#F98080',\\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n}, {\\n color: '#F95050',\\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n}]} />\\n```\\n\\n## API\\n\\n### Props\\n\\n| **Name** | **Type** | **Defaults** | **Details** |\\n| ------------- |:-------------:|:-----:|:-------------:|\\n| paths | object | -- | Support for multiple icon path |\\n| path | string | -- | Icon path value |\\n| view | number | 1024 | View size |\\n| scale | number | 2 | Icon magnification |\\n| color | string | black | color |\\n| rotate | bool | false | Rotate transform |\\n\\n* [→ SVG path by antd](https://ant.design/components/icon/) & [→ Github](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\\n* [→ SVG path by Material Icons](https://material.io/tools/icons/?style=baseline)\\n\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/en/icon.md\n// module id = 57\n// module chunks = 103"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
webpackJsonp([104],{56:function(n,o){n.exports='## Icon Button \n\nIcon button allow users to take actions, and make choices, with a single tap.\n\n## Usage\n\n```html\n<m-icon-button color="red" icons="[\'favorite\', \'favorite_border\']"></m-icon-button>\n\n<m-icon-button>\n <svg viewBox="0 0 24 24" class="" width="2em" height="2em" aria-hidden="true">\n <path d="M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"></path>\n </svg>\n <svg viewBox="0 0 1024 1024" class="" width="2em" height="2em" aria-hidden="true">\n <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"\n fill="#F98080"></path>\n <path d="M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"\n fill="#F95050"></path>\n </svg>\n</m-icon-button>\n```\n\n## Usage in Omi\n\nJSX:\n\n```jsx\n<m-icon-button color="red" icons={[\'favorite\', \'favorite_border\']}></m-icon-button>\n```\n\n## More Icons\n\n[Material Icons](https://material.io/tools/icons/?style=baseline)\n\n## API\n\n### Props\n\n| **Name** | **Type** | **Defaults** | **Details** |\n| ------------- |:-------------:|:-----:|:-------------:|\n| ripple | boolean | -- | Ripple effect |\n| toggle | object | -- | |\n| icons | object | -- | Multiple icons |\n| icon | string | -- | icon |\n| imgs | object | -- | Image path |\n| svg | object | -- | svg icon |\n| color | string | -- | color |\n| disabled | boolean | -- | Disable the icon button |\n| onChange | function | -- | Icon change trigger |\n\n* [\u2192 You can use Material Icons from Google Fonts:](https://material.io/tools/icons)\n* [\u2192 You can use antd\'s SVG path directly](https://ant.design/components/icon/)\n* [\u2192 You can find the path in the github of andt icons](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\n'}});
//# sourceMappingURL=104.341f9ce9.chunk.js.map
webpackJsonp([104],{56:function(n,o){n.exports='## Icon Button \n\nIcon button allow users to take actions, and make choices, with a single tap.\n\n## Usage\n\n```html\n<m-icon-button color="red" icons="[\'favorite\', \'favorite_border\']"></m-icon-button>\n\n<m-icon-button>\n <svg viewBox="0 0 24 24" class="" width="2em" height="2em" aria-hidden="true">\n <path d="M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"></path>\n </svg>\n <svg viewBox="0 0 1024 1024" class="" width="2em" height="2em" aria-hidden="true">\n <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"\n fill="#F98080"></path>\n <path d="M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"\n fill="#F95050"></path>\n </svg>\n</m-icon-button>\n```\n\n## Usage in Omi\n\nJSX:\n\n```jsx\n<m-icon-button color="red" icons={[\'favorite\', \'favorite_border\']}></m-icon-button>\n```\n\n## More Icons\n\n[\u2192 Material Icons](https://material.io/tools/icons/?style=baseline)\n\n## API\n\n### Props\n\n| **Name** | **Type** | **Defaults** | **Details** |\n| ------------- |:-------------:|:-----:|:-------------:|\n| ripple | boolean | -- | Ripple effect |\n| toggle | object | -- | |\n| icons | object | -- | Multiple icons |\n| icon | string | -- | icon |\n| imgs | object | -- | Image path |\n| svg | object | -- | svg icon |\n| color | string | -- | color |\n| disabled | boolean | -- | Disable the icon button |\n| onChange | function | -- | Icon change trigger |\n\n* [\u2192 You can use Material Icons from Google Fonts:](https://material.io/tools/icons)\n* [\u2192 You can use antd\'s SVG path directly](https://ant.design/components/icon/)\n* [\u2192 You can find the path in the github of andt icons](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\n'}});
//# sourceMappingURL=104.f2217ba6.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"version":3,"sources":["../static/js/41.61129729.chunk.js","docs/zh-cn/icon.md"],"names":["webpackJsonp","119","module","exports"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/41.61129729.chunk.js","sourcesContent":["webpackJsonp([41],{\n\n/***/ 119:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Icon \\n\\nSVG 制作的 Icon.\\n\\n## 使用\\n\\n```html\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\\n</m-icon>\\n\\n```\\n\\n也可以支持多 path 多颜色:\\n\\n```html\\n<m-icon \\n paths=\\\"[{ \\n color: '#F98080', \\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n }, \\n { \\n color: '#F95050', \\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n }]\\\">\\n</m-icon>\\n```\\n\\n## Omi 中使用\\n\\nJSX:\\n\\n```jsx\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\\n```\\n\\n支持多 path 多颜色:\\n\\n```jsx\\n<m-icon paths={[{\\n color: '#F98080',\\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n}, {\\n color: '#F95050',\\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n}]} />\\n```\\n\\n## API\\n\\n### Props\\n\\n| **Name** | **Type** | **Defaults** | **Details** |\\n| ------------- |:-------------:|:-----:|:-------------:|\\n| paths | object | -- | 支持多图标 path |\\n| path | string | -- | 图标的 path 值 |\\n| view | number | 1024 | 视图大小 |\\n| scale | number | 2 | 图标放大倍数 |\\n| color | string | black | 颜色 |\\n| rotate | bool | false | 旋转动画 |\\n\\n* [→ 你可以直接使用 antd 的海量 svg path 作为 icon 的 path](https://ant.design/components/icon-cn/),你可以通过开发者工具查看对应 icon 的 path\\n* [→ 也可以直接上 antd github 获取 svg path](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\\n\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/41.61129729.chunk.js","module.exports = \"## Icon \\n\\nSVG 制作的 Icon.\\n\\n## 使用\\n\\n```html\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\\n</m-icon>\\n\\n```\\n\\n也可以支持多 path 多颜色:\\n\\n```html\\n<m-icon \\n paths=\\\"[{ \\n color: '#F98080', \\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n }, \\n { \\n color: '#F95050', \\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n }]\\\">\\n</m-icon>\\n```\\n\\n## Omi 中使用\\n\\nJSX:\\n\\n```jsx\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\\n```\\n\\n支持多 path 多颜色:\\n\\n```jsx\\n<m-icon paths={[{\\n color: '#F98080',\\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n}, {\\n color: '#F95050',\\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n}]} />\\n```\\n\\n## API\\n\\n### Props\\n\\n| **Name** | **Type** | **Defaults** | **Details** |\\n| ------------- |:-------------:|:-----:|:-------------:|\\n| paths | object | -- | 支持多图标 path |\\n| path | string | -- | 图标的 path 值 |\\n| view | number | 1024 | 视图大小 |\\n| scale | number | 2 | 图标放大倍数 |\\n| color | string | black | 颜色 |\\n| rotate | bool | false | 旋转动画 |\\n\\n* [→ 你可以直接使用 antd 的海量 svg path 作为 icon 的 path](https://ant.design/components/icon-cn/),你可以通过开发者工具查看对应 icon 的 path\\n* [→ 也可以直接上 antd github 获取 svg path](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\\n\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/icon.md\n// module id = 119\n// module chunks = 41"],"sourceRoot":""}

View File

@ -1,2 +1,2 @@
webpackJsonp([41],{119:function(n,c){n.exports="## Icon \n\nSVG \u5236\u4f5c\u7684 Icon.\n\n## \u4f7f\u7528\n\n```html\n<m-icon \n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\n</m-icon>\n\n```\n\n\u4e5f\u53ef\u4ee5\u652f\u6301\u591a path \u591a\u989c\u8272\uff1a\n\n```html\n<m-icon \n paths=\"[{ \n color: '#F98080', \n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\n }, \n { \n color: '#F95050', \n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\n }]\">\n</m-icon>\n```\n\n## Omi \u4e2d\u4f7f\u7528\n\nJSX:\n\n```jsx\n<m-icon \n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\n```\n\n\u652f\u6301\u591a path \u591a\u989c\u8272\uff1a\n\n```jsx\n<m-icon paths={[{\n color: '#F98080',\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\n}, {\n color: '#F95050',\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\n}]} />\n```\n\n## API\n\n### Props\n\n| **Name** | **Type** | **Defaults** | **Details** |\n| ------------- |:-------------:|:-----:|:-------------:|\n| paths | object | -- | \u652f\u6301\u591a\u56fe\u6807 path |\n| path | string | -- | \u56fe\u6807\u7684 path \u503c |\n| view | number | 1024 | \u89c6\u56fe\u5927\u5c0f |\n| scale | number | 2 | \u56fe\u6807\u653e\u5927\u500d\u6570 |\n| color | string | black | \u989c\u8272 |\n| rotate | bool | false | \u65cb\u8f6c\u52a8\u753b |\n\n* [\u2192 \u4f60\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 antd \u7684\u6d77\u91cf svg path \u4f5c\u4e3a icon \u7684 path](https://ant.design/components/icon-cn/),\u4f60\u53ef\u4ee5\u901a\u8fc7\u5f00\u53d1\u8005\u5de5\u5177\u67e5\u770b\u5bf9\u5e94 icon \u7684 path\n* [\u2192 \u4e5f\u53ef\u4ee5\u76f4\u63a5\u4e0a antd github \u83b7\u53d6 svg path](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\n\n"}});
//# sourceMappingURL=41.61129729.chunk.js.map
webpackJsonp([41],{119:function(n,t){n.exports="## Icon \n\nSVG \u5236\u4f5c\u7684 Icon.\n\n## \u4f7f\u7528\n\n```html\n<m-icon \n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\n</m-icon>\n\n```\n\n\u4e5f\u53ef\u4ee5\u652f\u6301\u591a path \u591a\u989c\u8272\uff1a\n\n```html\n<m-icon \n paths=\"[{ \n color: '#F98080', \n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\n }, \n { \n color: '#F95050', \n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\n }]\">\n</m-icon>\n```\n\n## Omi \u4e2d\u4f7f\u7528\n\nJSX:\n\n```jsx\n<m-icon \n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\n```\n\n\u652f\u6301\u591a path \u591a\u989c\u8272\uff1a\n\n```jsx\n<m-icon paths={[{\n color: '#F98080',\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\n}, {\n color: '#F95050',\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\n}]} />\n```\n\n## API\n\n### Props\n\n| **Name** | **Type** | **Defaults** | **Details** |\n| ------------- |:-------------:|:-----:|:-------------:|\n| paths | object | -- | \u652f\u6301\u591a\u56fe\u6807 path |\n| path | string | -- | \u56fe\u6807\u7684 path \u503c |\n| view | number | 1024 | \u89c6\u56fe\u5927\u5c0f |\n| scale | number | 2 | \u56fe\u6807\u653e\u5927\u500d\u6570 |\n| color | string | black | \u989c\u8272 |\n| rotate | bool | false | \u65cb\u8f6c\u52a8\u753b |\n\n* [\u2192 \u4f60\u53ef\u4ee5\u4f7f\u7528 Google \u7684\u5b57\u4f53\u56fe\u6807\u7d20\u6750](https://material.io/tools/icons)\n* [\u2192 Antd \u7684 SVG path](https://ant.design/components/icon/) & [\u2192 Github](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\n\n"}});
//# sourceMappingURL=41.cb75788c.chunk.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["../static/js/41.cb75788c.chunk.js","docs/zh-cn/icon.md"],"names":["webpackJsonp","119","module","exports"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,GCHxBD,EAAAC,QAAA","file":"static/js/41.cb75788c.chunk.js","sourcesContent":["webpackJsonp([41],{\n\n/***/ 119:\n/***/ (function(module, exports) {\n\nmodule.exports = \"## Icon \\n\\nSVG 制作的 Icon.\\n\\n## 使用\\n\\n```html\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\\n</m-icon>\\n\\n```\\n\\n也可以支持多 path 多颜色:\\n\\n```html\\n<m-icon \\n paths=\\\"[{ \\n color: '#F98080', \\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n }, \\n { \\n color: '#F95050', \\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n }]\\\">\\n</m-icon>\\n```\\n\\n## Omi 中使用\\n\\nJSX:\\n\\n```jsx\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\\n```\\n\\n支持多 path 多颜色:\\n\\n```jsx\\n<m-icon paths={[{\\n color: '#F98080',\\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n}, {\\n color: '#F95050',\\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n}]} />\\n```\\n\\n## API\\n\\n### Props\\n\\n| **Name** | **Type** | **Defaults** | **Details** |\\n| ------------- |:-------------:|:-----:|:-------------:|\\n| paths | object | -- | 支持多图标 path |\\n| path | string | -- | 图标的 path 值 |\\n| view | number | 1024 | 视图大小 |\\n| scale | number | 2 | 图标放大倍数 |\\n| color | string | black | 颜色 |\\n| rotate | bool | false | 旋转动画 |\\n\\n* [→ 你可以使用 Google 的字体图标素材](https://material.io/tools/icons)\\n* [→ Antd 的 SVG path](https://ant.design/components/icon/) & [→ Github](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\\n\\n\"\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/41.cb75788c.chunk.js","module.exports = \"## Icon \\n\\nSVG 制作的 Icon.\\n\\n## 使用\\n\\n```html\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z'>\\n</m-icon>\\n\\n```\\n\\n也可以支持多 path 多颜色:\\n\\n```html\\n<m-icon \\n paths=\\\"[{ \\n color: '#F98080', \\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n }, \\n { \\n color: '#F95050', \\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n }]\\\">\\n</m-icon>\\n```\\n\\n## Omi 中使用\\n\\nJSX:\\n\\n```jsx\\n<m-icon \\n path='M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z' />\\n```\\n\\n支持多 path 多颜色:\\n\\n```jsx\\n<m-icon paths={[{\\n color: '#F98080',\\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\\n}, {\\n color: '#F95050',\\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\\n}]} />\\n```\\n\\n## API\\n\\n### Props\\n\\n| **Name** | **Type** | **Defaults** | **Details** |\\n| ------------- |:-------------:|:-----:|:-------------:|\\n| paths | object | -- | 支持多图标 path |\\n| path | string | -- | 图标的 path 值 |\\n| view | number | 1024 | 视图大小 |\\n| scale | number | 2 | 图标放大倍数 |\\n| color | string | black | 颜色 |\\n| rotate | bool | false | 旋转动画 |\\n\\n* [→ 你可以使用 Google 的字体图标素材](https://material.io/tools/icons)\\n* [→ Antd 的 SVG path](https://ant.design/components/icon/) & [→ Github](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\\n\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/docs/zh-cn/icon.md\n// module id = 119\n// module chunks = 41"],"sourceRoot":""}

View File

@ -1,2 +1,2 @@
webpackJsonp([42],{118:function(n,t){n.exports='## Icon Button \n\nIcon Button \u5141\u8bb8\u7528\u6237\u53ea\u9700\u70b9\u51fb\u4e00\u6b21\u5c31\u53ef\u4ee5\u8fdb\u884c\u64cd\u4f5c\u548c\u505a\u51fa\u9009\u62e9\u3002\n\n## \u4f7f\u7528\n\n```html\n<m-icon-button color="red" icons="[\'favorite\', \'favorite_border\']"></m-icon-button>\n\n<m-icon-button>\n <svg viewBox="0 0 24 24" class="" width="2em" height="2em" aria-hidden="true">\n <path d="M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"></path>\n </svg>\n <svg viewBox="0 0 1024 1024" class="" width="2em" height="2em" aria-hidden="true">\n <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"\n fill="#F98080"></path>\n <path d="M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"\n fill="#F95050"></path>\n </svg>\n</m-icon-button>\n```\n\n## Omi \u4e2d\u4f7f\u7528\n\nJSX:\n\n```jsx\n<m-icon-button color="red" icons={[\'favorite\', \'favorite_border\']}></m-icon-button>\n```\n\n## \u66f4\u591a\u5b98\u65b9 Icons\n\n\u8bbf\u95ee [Material Icons \u5b98\u65b9\u7f51\u7ad9](https://material.io/tools/icons/?style=baseline) \u83b7\u53d6\u66f4\u591a Icons\u3002\n\n## API\n\n### Props\n\n| **Name** | **Type** | **Defaults** | **Details** |\n| ------------- |:-------------:|:-----:|:-------------:|\n| ripple | boolean | -- | \u6ce2\u7eb9\u6548\u679c |\n| toggle | object | -- | |\n| icons | object | -- | \u591a\u4e2a\u56fe\u6807 |\n| icon | string | -- | \u56fe\u6807 |\n| imgs | object | -- | \u56fe\u7247\u8def\u5f84 |\n| svg | object | -- | svg\u56fe\u6807 |\n| color | string | -- | \u989c\u8272 |\n| disabled | boolean | -- | \u4f7f\u56fe\u6807\u6309\u94ae\u5931\u6548 |\n| onChange | function | -- | \u56fe\u6807\u53d8\u5316\u89e6\u53d1 |\n\n* [\u2192 \u4f60\u53ef\u4ee5\u4f7f\u7528 Google \u7684\u5b57\u4f53\u56fe\u6807\u7d20\u6750](https://material.io/tools/icons)\n* [\u2192 \u4e5f\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 antd \u7684\u6d77\u91cf svg path \u4f5c\u4e3a icon \u7684 path](https://ant.design/components/icon-cn/),\u4f60\u53ef\u4ee5\u901a\u8fc7\u5f00\u53d1\u8005\u5de5\u5177\u67e5\u770b\u5bf9\u5e94 icon \u7684 path\n* [\u2192 \u4e5f\u53ef\u4ee5\u76f4\u63a5\u4e0a antd github \u83b7\u53d6 svg path](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\n'}});
//# sourceMappingURL=42.8db88734.chunk.js.map
webpackJsonp([42],{118:function(n,t){n.exports='## Icon Button \n\nIcon Button \u5141\u8bb8\u7528\u6237\u53ea\u9700\u70b9\u51fb\u4e00\u6b21\u5c31\u53ef\u4ee5\u8fdb\u884c\u64cd\u4f5c\u548c\u505a\u51fa\u9009\u62e9\u3002\n\n## \u4f7f\u7528\n\n```html\n<m-icon-button color="red" icons="[\'favorite\', \'favorite_border\']"></m-icon-button>\n\n<m-icon-button>\n <svg viewBox="0 0 24 24" class="" width="2em" height="2em" aria-hidden="true">\n <path d="M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"></path>\n </svg>\n <svg viewBox="0 0 1024 1024" class="" width="2em" height="2em" aria-hidden="true">\n <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"\n fill="#F98080"></path>\n <path d="M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"\n fill="#F95050"></path>\n </svg>\n</m-icon-button>\n```\n\n## Omi \u4e2d\u4f7f\u7528\n\nJSX:\n\n```jsx\n<m-icon-button color="red" icons={[\'favorite\', \'favorite_border\']}></m-icon-button>\n```\n\n## \u66f4\u591a\u5b98\u65b9 Icons\n\n\u8bbf\u95ee [Material Icons \u5b98\u65b9\u7f51\u7ad9](https://material.io/tools/icons/?style=baseline) \u83b7\u53d6\u66f4\u591a Icons\u3002\n\n## API\n\n### Props\n\n| **Name** | **Type** | **Defaults** | **Details** |\n| ------------- |:-------------:|:-----:|:-------------:|\n| ripple | boolean | -- | \u6ce2\u7eb9\u6548\u679c |\n| toggle | object | -- | |\n| icons | object | -- | \u591a\u4e2a\u56fe\u6807 |\n| icon | string | -- | \u56fe\u6807 |\n| imgs | object | -- | \u56fe\u7247\u8def\u5f84 |\n| svg | object | -- | svg\u56fe\u6807 |\n| color | string | -- | \u989c\u8272 |\n| disabled | boolean | -- | \u4f7f\u56fe\u6807\u6309\u94ae\u5931\u6548 |\n| onChange | function | -- | \u56fe\u6807\u53d8\u5316\u89e6\u53d1 |\n\n* [\u2192 \u4f60\u53ef\u4ee5\u4f7f\u7528 Google \u7684\u5b57\u4f53\u56fe\u6807\u7d20\u6750](https://material.io/tools/icons)\n* [\u2192 Antd \u7684 SVG path](https://ant.design/components/icon/) & [\u2192 Github](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)\n'}});
//# sourceMappingURL=42.21c0d3d5.chunk.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -30,7 +30,7 @@ JSX:
## More Icons
[Material Icons](https://material.io/tools/icons/?style=baseline)
[Material Icons](https://material.io/tools/icons/?style=baseline)
## API

View File

@ -60,6 +60,6 @@ Support multiple paths:
| color | string | black | color |
| rotate | bool | false | Rotate transform |
* [You can use antd's SVG path directly](https://ant.design/components/icon/)
* [You can find the path in the github of andt icons](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)
* [SVG path by antd](https://ant.design/components/icon/) & [→ Github](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)
* [SVG path by Material Icons](https://material.io/tools/icons/?style=baseline)

View File

@ -49,5 +49,4 @@ JSX:
| onChange | function | -- | 图标变化触发 |
* [→ 你可以使用 Google 的字体图标素材](https://material.io/tools/icons)
* [→ 也可以直接使用 antd 的海量 svg path 作为 icon 的 path](https://ant.design/components/icon-cn/),你可以通过开发者工具查看对应 icon 的 path
* [→ 也可以直接上 antd github 获取 svg path](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)
* [→ Antd 的 SVG path](https://ant.design/components/icon/) & [→ Github](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)

View File

@ -60,6 +60,6 @@ JSX:
| color | string | black | 颜色 |
| rotate | bool | false | 旋转动画 |
* [→ 你可以直接使用 antd 的海量 svg path 作为 icon 的 path](https://ant.design/components/icon-cn/),你可以通过开发者工具查看对应 icon 的 path
* [也可以直接上 antd github 获取 svg path](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)
* [→ 你可以使用 Google 的字体图标素材](https://material.io/tools/icons)
* [Antd 的 SVG path](https://ant.design/components/icon/) & [→ Github](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons/svg)