This repository was archived by the owner on Mar 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
feat(Icon): Add image-unavailable icon to Teams Theme #1633
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
fc14418
Add image-unavailable icon to Teams Theme
joheredi 5e6fb0e
update changelog
joheredi 7470269
Merge branch 'master' into feat/teams-icons-image-unavailable
alinais 68b1350
Fix typo and remove unused g tag
joheredi aa017a0
Merge branch 'master' of github.com:stardust-ui/react into feat/teams…
joheredi a8ff5c2
Merge branch 'feat/teams-icons-image-unavailable' of github.com:stard…
joheredi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
packages/react/src/themes/teams/components/Icon/svg/icons/image-unavailable.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import * as React from 'react' | ||
| import { TeamsSvgIconSpec } from '../types' | ||
|
|
||
| export default { | ||
| icon: ({ classes }) => ( | ||
| <svg role="presentation" focusable="false" viewBox="0 0 32 32" className={classes.svg}> | ||
| <path d="M29.794 3.62l1.913-1.913A1 1 0 0 0 30.293.293l-30 30a1 1 0 1 0 1.414 1.414L5.914 27.5H29a3.003 3.003 0 0 0 3-3v-18a2.995 2.995 0 0 0-2.206-2.88zm-6.933 6.933a1.998 1.998 0 1 1-2.39 2.39zM7.914 25.5l6.24-6.24 4.267 6.24zM30 24.5a1.001 1.001 0 0 1-1 1h-8.156l-5.251-7.679 3.36-3.36a3.986 3.986 0 1 0 5.426-5.426L27.914 5.5H29a1.001 1.001 0 0 1 1 1zM2.494 25.342A.986.986 0 0 1 2 24.5v-2.83l7.038-7.793a.99.99 0 0 1 .79-.29.975.975 0 0 1 .719.398l1.342 1.962 1.439-1.439-1.142-1.668a2.996 2.996 0 0 0-2.194-1.246 3.029 3.029 0 0 0-2.404.905L2 18.686V6.5a1.001 1.001 0 0 1 1-1h19.336l2-2H3a3.003 3.003 0 0 0-3 3v18a2.98 2.98 0 0 0 1.064 2.272z" /> | ||
| </svg> | ||
| ), | ||
| styles: {}, | ||
| } as TeamsSvgIconSpec | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.