diff --git a/docs/src/components.json b/docs/src/components.json index c7ccd052..095c45ae 100644 --- a/docs/src/components.json +++ b/docs/src/components.json @@ -1820,6 +1820,35 @@ } } }, + "lib/icons/exit.js": { + "description": "", + "displayName": "IconExit", + "methods": [], + "props": { + "color": { + "type": { + "name": "string" + }, + "required": false, + "description": "Icon color", + "defaultValue": { + "value": "'#8E8E93'", + "computed": false + } + }, + "size": { + "type": { + "name": "number" + }, + "required": false, + "description": "Icon size", + "defaultValue": { + "value": "28", + "computed": false + } + } + } + }, "lib/icons/globe.js": { "description": "", "displayName": "IconGlobe", diff --git a/docs/src/components/icons/icons/exit.svg b/docs/src/components/icons/icons/exit.svg new file mode 100644 index 00000000..4aa98266 --- /dev/null +++ b/docs/src/components/icons/icons/exit.svg @@ -0,0 +1 @@ + diff --git a/docs/src/components/icons/icons/index.js b/docs/src/components/icons/icons/index.js index 25b1bc2f..5a6f169f 100644 --- a/docs/src/components/icons/icons/index.js +++ b/docs/src/components/icons/icons/index.js @@ -31,6 +31,7 @@ import Settings from './settings.svg'; import Share from './share.svg'; import Storage from './storage.svg'; import Verified from './verified.svg'; +import Exit from './exit.svg'; export { Attachment, @@ -65,5 +66,6 @@ export { Settings, Share, Storage, - Verified + Verified, + Exit }; diff --git a/lib/icons/exit.js b/lib/icons/exit.js new file mode 100644 index 00000000..4bcadd0d --- /dev/null +++ b/lib/icons/exit.js @@ -0,0 +1,30 @@ +import React from 'react'; +import PropTypes from 'prop-types'; +import { Path } from 'react-native-svg'; +import ResizeableSvg from '../resizeable-svg'; + +const displayName = 'IconExit'; + +const propTypes = { + /** Icon color */ + color: PropTypes.string, + /** Icon size */ + size: PropTypes.number +}; + +const defaultProps = { + color: '#8E8E93', + size: 28 +}; + +const Exit = ({ color, size, ...custom }) => ( + + {/* eslint-disable-line max-len */} + +); + +Exit.displayName = displayName; +Exit.propTypes = propTypes; +Exit.defaultProps = defaultProps; + +export default Exit; diff --git a/lib/icons/index.js b/lib/icons/index.js index 60221377..5b4fc854 100644 --- a/lib/icons/index.js +++ b/lib/icons/index.js @@ -31,6 +31,7 @@ import Settings from './settings'; import Share from './share'; import Storage from './storage'; import Verified from './verified'; +import Exit from './exit'; export { Attachment, @@ -65,5 +66,6 @@ export { Settings, Share, Storage, - Verified + Verified, + Exit };