diff --git a/CHANGELOG.md b/CHANGELOG.md index b9a55901bc..de8dcd0085 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Features - Add `loading` prop for `Dropdown` @layershifter ([#729](https://github.com/stardust-ui/react/pull/729)) +- Export `close` icon in Teams theme @alinais ([#774](https://github.com/stardust-ui/react/pull/774)) ## [v0.18.0](https://github.com/stardust-ui/react/tree/v0.18.0) (2019-01-24) diff --git a/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-close.tsx b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-close.tsx index 984f2b71aa..663d97fb4b 100644 --- a/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-close.tsx +++ b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-close.tsx @@ -17,4 +17,5 @@ export default { ), styles: {}, + exportedAs: 'close', } as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/icons/close.tsx b/src/themes/teams/components/Icon/svg/icons/close.tsx new file mode 100644 index 0000000000..795f007bae --- /dev/null +++ b/src/themes/teams/components/Icon/svg/icons/close.tsx @@ -0,0 +1,20 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/icons/index.ts b/src/themes/teams/components/Icon/svg/icons/index.ts index 9da2c2db6f..af7308668b 100644 --- a/src/themes/teams/components/Icon/svg/icons/index.ts +++ b/src/themes/teams/components/Icon/svg/icons/index.ts @@ -14,6 +14,7 @@ import callRecording from './callRecording' import callVideo from './callVideo' import callVideoOff from './callVideoOff' import canvasAddPage from './canvasAddPage' +import close from './close' import codeSnippet from './codeSnippet' import edit from './edit' import emoji from './emoji' @@ -76,6 +77,7 @@ export default { 'call-control-stop-presenting-new': callControlStopPresentingNew, 'call-recording': callRecording, 'canvas-add-page': canvasAddPage, + close, 'code-snippet': codeSnippet, edit, emoji,