Added: svg X and hamburger icon
This commit is contained in:
20
src/assets/icons/Hamburger-icon.js
Normal file
20
src/assets/icons/Hamburger-icon.js
Normal file
@@ -0,0 +1,20 @@
|
||||
const HamburgerIcon = ({ width = 24, height = 24, color }) => (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={width}
|
||||
height={height}
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke={color}
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
class="feather feather-menu"
|
||||
>
|
||||
<line x1="3" y1="12" x2="21" y2="12"></line>
|
||||
<line x1="3" y1="6" x2="21" y2="6"></line>
|
||||
<line x1="3" y1="18" x2="21" y2="18"></line>
|
||||
</svg>
|
||||
);
|
||||
|
||||
export default HamburgerIcon;
|
||||
19
src/assets/icons/X-close-icon.js
Normal file
19
src/assets/icons/X-close-icon.js
Normal file
@@ -0,0 +1,19 @@
|
||||
const XIcon = ({ width = 24, height = 24, color = '#ffffff' }) => (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={width}
|
||||
height={height}
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke={color}
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
class="feather feather-x"
|
||||
>
|
||||
<line x1="18" y1="6" x2="6" y2="18"></line>
|
||||
<line x1="6" y1="6" x2="18" y2="18"></line>
|
||||
</svg>
|
||||
);
|
||||
|
||||
export default XIcon;
|
||||
Reference in New Issue
Block a user