Skip to content

Commit

Permalink
feat(core-decorative-icon): add ambulance icon
Browse files Browse the repository at this point in the history
  • Loading branch information
somayek authored and jraff committed May 7, 2021
1 parent ce1a7e3 commit 983047b
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/DecorativeIcon/SVGIcon.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@ const IconTable = require('../../docs/components/custom/IconTable/IconTable').de
Component: Medical,
usageCriteria: 'health, medical',
},
{
name: 'Ambulance',
Component: Ambulance,
usageCriteria: 'health, ambulance',
},
]}
/>

Expand Down
72 changes: 72 additions & 0 deletions packages/DecorativeIcon/svgs/Ambulance.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import React from 'react'
import SVGIcon from '../SVGIcon'

const Ambulance = props => (
<SVGIcon {...props}>
<svg width="24" height="23" viewBox="0 0 24 23">
<path
class="st0"
d="M22.5,15.5c-0.3,0-0.5-0.2-0.5-0.5V8.2l-0.7-0.7H5.8L3,11.2V15c0,0.3-0.2,0.5-0.5,0.5S2,15.3,2,15v-4
c0-0.1,0-0.2,0.1-0.3l3-4c0.1-0.1,0.2-0.2,0.4-0.2h16c0.1,0,0.3,0.1,0.4,0.1l1,1C22.9,7.7,23,7.9,23,8v7
C23,15.3,22.8,15.5,22.5,15.5z"
/>
<path
class="st0"
d="M7.5,12.5h-3c-0.2,0-0.4-0.1-0.4-0.3c-0.1-0.2-0.1-0.4,0-0.5l2-3c0.1-0.1,0.2-0.2,0.4-0.2h1
C7.8,8.5,8,8.7,8,9v3C8,12.3,7.8,12.5,7.5,12.5z M5.4,11.5H7v-2H6.8L5.4,11.5z"
/>
<path
class="st0"
d="M22.5,17.5h-1c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H22v-1H6.5c-0.1,0-0.2,0-0.2-0.1l-2-1
C4,14.3,3.9,14,4.1,13.8c0.1-0.2,0.4-0.3,0.7-0.2l1.9,0.9h15.9c0.3,0,0.5,0.2,0.5,0.5v2C23,17.3,22.8,17.5,22.5,17.5z"
/>
<path
class="st0"
d="M2.5,17.5h-1C1.2,17.5,1,17.3,1,17v-2c0-0.3,0.2-0.5,0.5-0.5h1C2.8,14.5,3,14.7,3,15s-0.2,0.5-0.5,0.5H2v1
h0.5C2.8,16.5,3,16.7,3,17S2.8,17.5,2.5,17.5z"
/>
<path
class="st0"
d="M5,20.5c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S6.1,20.5,5,20.5z M5,17.5c-0.6,0-1,0.4-1,1s0.4,1,1,1
s1-0.4,1-1S5.6,17.5,5,17.5z"
/>
<path
class="st0"
d="M19,20.5c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S20.1,20.5,19,20.5z M19,17.5c-0.6,0-1,0.4-1,1s0.4,1,1,1
s1-0.4,1-1S19.6,17.5,19,17.5z"
/>
<path
class="st0"
d="M16.5,17.5h-9C7.2,17.5,7,17.3,7,17s0.2-0.5,0.5-0.5h9c0.3,0,0.5,0.2,0.5,0.5S16.8,17.5,16.5,17.5z"
/>
<path
class="st0"
d="M18.5,13.5c-0.3,0-0.5-0.2-0.5-0.5V9c0-0.3,0.2-0.5,0.5-0.5S19,8.7,19,9v4C19,13.3,18.8,13.5,18.5,13.5z"
/>
<path
class="st0"
d="M20.2,12.5c-0.1,0-0.2,0-0.2-0.1l-3.5-2c-0.2-0.1-0.3-0.4-0.2-0.7c0.1-0.2,0.4-0.3,0.7-0.2l3.5,2
c0.2,0.1,0.3,0.4,0.2,0.7C20.6,12.4,20.4,12.5,20.2,12.5z"
/>
<path
class="st0"
d="M16.8,12.5c-0.2,0-0.3-0.1-0.4-0.2c-0.1-0.2-0.1-0.5,0.2-0.7l3.5-2c0.2-0.1,0.5-0.1,0.7,0.2
c0.1,0.2,0.1,0.5-0.2,0.7l-3.5,2C16.9,12.5,16.9,12.5,16.8,12.5z"
/>
<path
class="st0"
d="M14.5,12.5h-4c-0.3,0-0.5-0.2-0.5-0.5V9c0-0.3,0.2-0.5,0.5-0.5h4C14.8,8.5,15,8.7,15,9v3
C15,12.3,14.8,12.5,14.5,12.5z M11,11.5h3v-2h-3V11.5z"
/>
<path
class="st0"
d="M11.5,7.5h-2C9.2,7.5,9,7.3,9,7V5c0-0.8,0.7-1.5,1.5-1.5S12,4.2,12,5v2C12,7.3,11.8,7.5,11.5,7.5z M10,6.5h1
V5c0-0.3-0.2-0.5-0.5-0.5S10,4.7,10,5V6.5z"
/>
</svg>
</SVGIcon>
)

Ambulance.displayName = 'DecorativeIcon'

export default Ambulance
1 change: 1 addition & 0 deletions packages/DecorativeIcon/svgs/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export { default as Accessible } from './Accessible'
export { default as AddUser } from './AddUser'
export { default as AlarmClock } from './AlarmClock'
export { default as Ambulance } from './Ambulance'
export { default as ArrowDown } from './ArrowDown'
export { default as ArrowUp } from './ArrowUp'
export { default as ArtificialIntelligence } from './ArtificialIntelligence'
Expand Down

0 comments on commit 983047b

Please sign in to comment.