Skip to content

Commit f9c8604

Browse files
doublefacedoubleface
authored andcommitted
feat: Add new ShareExternal icon component
1 parent cf79299 commit f9c8604

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

assets/icons/ui/share-external.svg

Lines changed: 1 addition & 0 deletions
Loading

react/Icon/Readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ import Setting from 'cozy-ui/transpiled/react/Icons/Setting'
308308
import Share from 'cozy-ui/transpiled/react/Icons/Share'
309309
import ShareCircle from 'cozy-ui/transpiled/react/Icons/ShareCircle'
310310
import Sharings from 'cozy-ui/transpiled/react/Icons/Sharings'
311+
import ShareExternal from 'cozy-ui/transpiled/react/Icons/ShareExternal'
311312
import Shield from 'cozy-ui/transpiled/react/Icons/Shield'
312313
import ShieldInfected from 'cozy-ui/transpiled/react/Icons/ShieldInfected'
313314
import ShieldClean from 'cozy-ui/transpiled/react/Icons/ShieldClean'
@@ -604,6 +605,7 @@ const icons = [
604605
Share,
605606
ShareCircle,
606607
Sharings,
608+
ShareExternal,
607609
Shield,
608610
ShieldInfected,
609611
ShieldClean,
@@ -1026,7 +1028,7 @@ import Typography from 'cozy-ui/transpiled/react/Typography'
10261028

10271029
const colors = ['#297EF2', '#08b442', '#B449E7', '#F52D2D', '#FF962F']
10281030
let i = 0
1029-
const availableIcons = ['album-add','album-remove','album','answer','apple','archive','arrowUp', 'article', 'assign-admin','assign-moderator','attachment','attention','bank-check','bank','banking-add','banking','bell','benefit','bike','bill','bottom','browser-brave','browser-chrome','browser-duckduckgo','browser-edge','browser-edge-chromium','browser-firefox','browser-ie','browser-opera','browser-safari','burger','bus','calendar','camera','car','carbonCopy','carpooling','categories','certified','check-circle','check-list','check-square','check','checkbox','chess','child','circle-filled','clock','clock-outline','cloud-happy','cloud-rainbow','cloud-plus-outlined','cloud','cloud2','collect','cocktail','comment','company','compare','compass','connector','contract','contrast','copy','cozy-circle','cozy-laugh', 'cozy-lock', 'cozy-text', 'cozy-release', 'credit-card-add','credit-card','credit','crop','cross-circle-outline','cross-circle','cross-medium','cross-small','cross','cube','dash','dashboard','data-control','database','debit','desktop-download','devices','discuss','dots','down','download','drawing-arrow-up','dropdown-close','dropdown-open','dropdown','dropup','electric-bike','electric-car','electric-scooter','email-notification','email-open','email','eu','euro','exchange','expand','expert','export','eye-closed','eye','face-id','file-add','file-duotone','file-new','file-none','file-outline','file','filter','fingerprint','fitness','flag-outlined','flag','flash-auto','flashlight','folder-add','folder-moveto','folder-open','folder','forbidden','from-user','gear','globe','gouv','graph-circle','grid','group-list','groups','growth','hand','heart','help','help-outlined','history','home','hourglass','image','info-outlined','info','justice','key','key2','label-outlined','laudry','laptop','left','library','lightbulb','lightning','link-out','link','list','list-min','location','lock', 'lock-screen', 'logout','magic-trick','magnet','magnifier','matrix','merge','moped','mosaic','mosaic-min','motorcycle','mountain','movement-in','movement-out','mouvement','moveto','multi-files','music','narrow','new','next','note','notification-email','number','offline','online', 'openapp', 'openwith','palette','paper','paperplane','password','pen','people','peoples','percent-circle','percent','person-add','personal-data','phone-download','phone-upload','phone','pie-chart','pin','plane','planet','plus-small','plus', 'pop-inside', 'previous','printer','qualify','radio-checked','radio-unchecked','refresh','relationship','remboursement','rename','repare','reply','restaurant','restore-straight','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','school','scooter','secutiry','select-all','send','server','setting','share-circle','share','sharings','shield','shield-infected','shield-clean','shop','sound','spinner','sport-bag','stack','star','star-outline','stats','stop', 'subway', 'support', 'swap', 'sync-cozy','sync','tab','tag','target','task','team','telecom','telephone','text','text-info','to-the-cloud','top','train','tram','trash','trophy', 'uncloud', 'unknow','unlink','unlock','upgrade-plan','up','upload','videos','walk','wallet-add','wallet-new','wallet','warn','warning-circle','warning','water','wrench-circle','work']
1031+
const availableIcons = ['album-add','album-remove','album','answer','apple','archive','arrowUp', 'article', 'assign-admin','assign-moderator','attachment','attention','bank-check','bank','banking-add','banking','bell','benefit','bike','bill','bottom','browser-brave','browser-chrome','browser-duckduckgo','browser-edge','browser-edge-chromium','browser-firefox','browser-ie','browser-opera','browser-safari','burger','bus','calendar','camera','car','carbonCopy','carpooling','categories','certified','check-circle','check-list','check-square','check','checkbox','chess','child','circle-filled','clock','clock-outline','cloud-happy','cloud-rainbow','cloud-plus-outlined','cloud','cloud2','collect','cocktail','comment','company','compare','compass','connector','contract','contrast','copy','cozy-circle','cozy-laugh', 'cozy-lock', 'cozy-text', 'cozy-release', 'credit-card-add','credit-card','credit','crop','cross-circle-outline','cross-circle','cross-medium','cross-small','cross','cube','dash','dashboard','data-control','database','debit','desktop-download','devices','discuss','dots','down','download','drawing-arrow-up','dropdown-close','dropdown-open','dropdown','dropup','electric-bike','electric-car','electric-scooter','email-notification','email-open','email','eu','euro','exchange','expand','expert','export','eye-closed','eye','face-id','file-add','file-duotone','file-new','file-none','file-outline','file','filter','fingerprint','fitness','flag-outlined','flag','flash-auto','flashlight','folder-add','folder-moveto','folder-open','folder','forbidden','from-user','gear','globe','gouv','graph-circle','grid','group-list','groups','growth','hand','heart','help','help-outlined','history','home','hourglass','image','info-outlined','info','justice','key','key2','label-outlined','laudry','laptop','left','library','lightbulb','lightning','link-out','link','list','list-min','location','lock', 'lock-screen', 'logout','magic-trick','magnet','magnifier','matrix','merge','moped','mosaic','mosaic-min','motorcycle','mountain','movement-in','movement-out','mouvement','moveto','multi-files','music','narrow','new','next','note','notification-email','number','offline','online', 'openapp', 'openwith','palette','paper','paperplane','password','pen','people','peoples','percent-circle','percent','person-add','personal-data','phone-download','phone-upload','phone','pie-chart','pin','plane','planet','plus-small','plus', 'pop-inside', 'previous','printer','qualify','radio-checked','radio-unchecked','refresh','relationship','remboursement','rename','repare','reply','restaurant','restore-straight','restore','right','rise','rotate-left','rotate-right','sad-cozy','safe','school','scooter','secutiry','select-all','send','server','setting','share-circle','share','sharings','share-external','shield','shield-infected','shield-clean','shop','sound','spinner','sport-bag','stack','star','star-outline','stats','stop', 'subway', 'support', 'swap', 'sync-cozy','sync','tab','tag','target','task','team','telecom','telephone','text','text-info','to-the-cloud','top','train','tram','trash','trophy', 'uncloud', 'unknow','unlink','unlock','upgrade-plan','up','upload','videos','walk','wallet-add','wallet-new','wallet','warn','warning-circle','warning','water','wrench-circle','work']
10301032
;
10311033

10321034
<Grid container spacing={2}>

react/Icons/ShareExternal.jsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/ui/share-external.svg` to regenerate;
2+
import React from 'react'
3+
4+
function SvgShareExternal(props) {
5+
return (
6+
<svg viewBox="0 0 16 16" {...props}>
7+
<path d="M10.696 15.224H3.565C1.62 15.224 0 13.584 0 11.614V4.391C0 2.422 1.62.78 3.565.78h1.62c.39 0 .65.263.65.657s-.26.656-.65.656H3.568c-1.232 0-2.27 1.05-2.27 2.298v7.221c0 1.247 1.038 2.298 2.27 2.298h7.13c1.232 0 2.27-1.05 2.27-2.298v-.984c0-.395.258-.657.646-.657.39 0 .65.262.65.657v.984c0 1.97-1.621 3.611-3.566 3.611zm-5.964-4.596c-.259 0-.518-.195-.648-.46A5.647 5.647 0 013.89 8.66c0-2.89 2.334-5.252 5.186-5.252h1.297v-1.97c0-.263.13-.525.39-.59.258-.132.518-.066.712.131l3.889 3.938a.64.64 0 010 .92l-3.89 3.939c-.193.197-.453.263-.713.131-.26-.066-.388-.328-.388-.59v-1.97H9.076c-1.752 0-3.241 1.117-3.76 2.823a.623.623 0 01-.584.46z" />
8+
</svg>
9+
)
10+
}
11+
12+
export default SvgShareExternal

0 commit comments

Comments
 (0)