Skip to content

Commit

Permalink
feat: Add TrashDuotone icon
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Nov 24, 2023
1 parent 9f0cb75 commit b3b26b5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 26 deletions.
1 change: 1 addition & 0 deletions assets/icons/illus/trash-duotone.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 27 additions & 26 deletions react/Icon/Readme.md
Expand Up @@ -574,15 +574,22 @@ const Example = () => {
import Icon from 'cozy-ui/transpiled/react/Icon'
import Typography from 'cozy-ui/transpiled/react/Typography'

import CozyIcon from 'cozy-ui/transpiled/react/Icons/Cozy'
import BottomSelectIcon from 'cozy-ui/transpiled/react/Icons/BottomSelect'
import CheckWhiteIcon from 'cozy-ui/transpiled/react/Icons/CheckWhite'
import CloudBrokenIcon from 'cozy-ui/transpiled/react/Icons/CloudBroken'
import CloudSync2 from 'cozy-ui/transpiled/react/Icons/CloudSync2'
import ContactsIcon from 'cozy-ui/transpiled/react/Icons/Contacts'
import CozyAuthentificationIcon from 'cozy-ui/transpiled/react/Icons/CozyAuthentification'
import CozyIcon from 'cozy-ui/transpiled/react/Icons/Cozy'
import CozyLogoIcon from 'cozy-ui/transpiled/react/Icons/CozyLogo'
import CozyUpgradeIcon from 'cozy-ui/transpiled/react/Icons/CozyUpgrade'
import DashWhiteIcon from 'cozy-ui/transpiled/react/Icons/DashWhite'
import DeviceBrowserIcon from 'cozy-ui/transpiled/react/Icons/DeviceBrowser'
import DeviceLaptopIcon from 'cozy-ui/transpiled/react/Icons/DeviceLaptop'
import DevicePhoneIcon from 'cozy-ui/transpiled/react/Icons/DevicePhone'
import DeviceTabletIcon from 'cozy-ui/transpiled/react/Icons/DeviceTablet'
import DeviceBrowserIcon from 'cozy-ui/transpiled/react/Icons/DeviceBrowser'
import FileTypeAudioIcon from 'cozy-ui/transpiled/react/Icons/FileTypeAudio'
import FileTypeBankingAccountIcon from 'cozy-ui/transpiled/react/Icons/FileTypeBankingAccount'
import FileTypeBinIcon from 'cozy-ui/transpiled/react/Icons/FileTypeBin'
import FileTypeCodeIcon from 'cozy-ui/transpiled/react/Icons/FileTypeCode'
import FileTypeFilesIcon from 'cozy-ui/transpiled/react/Icons/FileTypeFiles'
Expand All @@ -594,32 +601,32 @@ import FileTypeSlideIcon from 'cozy-ui/transpiled/react/Icons/FileTypeSlide'
import FileTypeTextIcon from 'cozy-ui/transpiled/react/Icons/FileTypeText'
import FileTypeVideoIcon from 'cozy-ui/transpiled/react/Icons/FileTypeVideo'
import FileTypeZipIcon from 'cozy-ui/transpiled/react/Icons/FileTypeZip'
import FileTypeBankingAccountIcon from 'cozy-ui/transpiled/react/Icons/FileTypeBankingAccount'
import ContactsIcon from 'cozy-ui/transpiled/react/Icons/Contacts'
import PapersIcon from 'cozy-ui/transpiled/react/Icons/Papers'
import StoreIcon from 'cozy-ui/transpiled/react/Icons/Store'
import ForbiddenSignIcon from 'cozy-ui/transpiled/react/Icons/ForbiddenSign'
import GoogleIcon from 'cozy-ui/transpiled/react/Icons/Google'
import KeychainIcon from 'cozy-ui/transpiled/react/Icons/Keychain'
import LogoutLargeIcon from 'cozy-ui/transpiled/react/Icons/LogoutLarge'
import PapersIcon from 'cozy-ui/transpiled/react/Icons/Papers'
import StoreIcon from 'cozy-ui/transpiled/react/Icons/Store'
import TopSelectIcon from 'cozy-ui/transpiled/react/Icons/TopSelect'
import BottomSelectIcon from 'cozy-ui/transpiled/react/Icons/BottomSelect'
import CheckWhiteIcon from 'cozy-ui/transpiled/react/Icons/CheckWhite'
import DashWhiteIcon from 'cozy-ui/transpiled/react/Icons/DashWhite'
import KeychainIcon from 'cozy-ui/transpiled/react/Icons/Keychain'
import CozyUpgradeIcon from 'cozy-ui/transpiled/react/Icons/CozyUpgrade'
import CozyAuthentificationIcon from 'cozy-ui/transpiled/react/Icons/CozyAuthentification'

import TrashDuotoneIcon from 'cozy-ui/transpiled/react/Icons/TrashDuotone'

const icons = [
CozyIcon,
BottomSelectIcon,
CheckWhiteIcon,
CloudBrokenIcon,
CloudSync2,
ContactsIcon,
CozyAuthentificationIcon,
CozyIcon,
CozyLogoIcon,
CozyUpgradeIcon,
DashWhiteIcon,
DeviceBrowserIcon,
DeviceLaptopIcon,
DevicePhoneIcon,
DeviceTabletIcon,
DeviceBrowserIcon,
FileTypeAudioIcon,
FileTypeBankingAccountIcon,
FileTypeBinIcon,
FileTypeCodeIcon,
FileTypeFilesIcon,
Expand All @@ -631,20 +638,14 @@ const icons = [
FileTypeTextIcon,
FileTypeVideoIcon,
FileTypeZipIcon,
FileTypeBankingAccountIcon,
ContactsIcon,
PapersIcon,
StoreIcon,
ForbiddenSignIcon,
GoogleIcon,
KeychainIcon,
LogoutLargeIcon,
PapersIcon,
StoreIcon,
TopSelectIcon,
BottomSelectIcon,
CheckWhiteIcon,
DashWhiteIcon,
KeychainIcon,
CozyUpgradeIcon,
CozyAuthentificationIcon
TrashDuotoneIcon
]

const wrapperStyle = {
Expand Down Expand Up @@ -684,7 +685,7 @@ import Icon from 'cozy-ui/transpiled/react/Icon'
import Typography from 'cozy-ui/transpiled/react/Typography'
import Sprite from 'cozy-ui/transpiled/react/Icon/Sprite'

const availableIcons = ['cozy', 'cloud-broken', 'cozy-logo', 'device-laptop', 'device-phone', 'device-tablet', 'device-browser', 'file-type-audio', 'file-type-bin', 'file-type-code', 'file-type-files', 'file-type-folder', 'file-type-image', 'file-type-note', 'file-type-pdf', 'file-type-sheet', 'file-type-slide', 'file-type-text', 'file-type-video', 'file-type-zip', 'file-type-banking-account' , 'forbidden-sign', 'google', 'logout-large', 'top-select', 'bottom-select', 'check-white', 'dash-white', 'keychain', 'contacts', 'papers', 'store', 'cozy-upgrade', 'cozy-authentification']
const availableIcons = ['bottom-select', 'check-white', 'cloud-broken', 'contacts', 'cozy-authentification', 'cozy-logo', 'cozy-upgrade', 'dash-white', 'device-browser', 'device-laptop', 'device-phone', 'device-tablet', 'file-type-audio', 'file-type-banking-account' , 'file-type-bin', 'file-type-code', 'file-type-files', 'file-type-folder', 'file-type-image', 'file-type-note', 'file-type-pdf', 'file-type-sheet', 'file-type-slide', 'file-type-text', 'file-type-video', 'file-type-zip', 'forbidden-sign', 'google', 'keychain', 'logout-large', 'papers', 'store', 'top-select', 'trash-duotone', 'cozy']

;

Expand Down
21 changes: 21 additions & 0 deletions react/Icons/TrashDuotone.jsx
@@ -0,0 +1,21 @@
// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/illus/trash-duotone.svg` to regenerate;
import React from 'react'

function SvgTrashDuotone(props) {
return (
<svg viewBox="0 0 32 32" fill="none" {...props}>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8.586 3L10.707.879A3 3 0 0112.828 0h6.344a3 3 0 012.121.879L23.414 3H29a2 2 0 110 4H3a2 2 0 110-4h5.586zm3.535-.707A1 1 0 0112.828 2h6.344a1 1 0 01.707.293l.707.707h-9.172l.707-.707z"
fill="#95999D"
/>
<path
d="M4 8a1 1 0 011-1h22a1 1 0 011 1v22a2 2 0 01-2 2H6a2 2 0 01-2-2V8z"
fill="#D6D8DA"
/>
</svg>
)
}

export default SvgTrashDuotone

0 comments on commit b3b26b5

Please sign in to comment.