Feature/wms 62 (#47)
* create warehouse * edit warehouse changes * Update: linted and formatted * add warehouse button * Update: linted * Added: icons * Update: Hidden pre decoration * Updated: breadcrumbs logic Co-authored-by: Llewellyn Dsouza <lledsouza2209@gmail.com>
This commit is contained in:
28
src/assets/images/HomeIcon.js
Normal file
28
src/assets/images/HomeIcon.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import React from 'react';
|
||||
|
||||
export default function HomeIcon({ width = 24, height = 24, stroke = 'white' }) {
|
||||
return (
|
||||
<svg
|
||||
width={width}
|
||||
height={height}
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M17.79 22.75H6.21C3.47 22.75 1.25 20.52 1.25 17.78V10.37C1.25 9.00997 2.09 7.29997 3.17 6.45997L8.56 2.25997C10.18 0.999974 12.77 0.939974 14.45 2.11997L20.63 6.44997C21.82 7.27997 22.75 9.05997 22.75 10.51V17.79C22.75 20.52 20.53 22.75 17.79 22.75ZM9.48 3.43997L4.09 7.63997C3.38 8.19997 2.75 9.46997 2.75 10.37V17.78C2.75 19.69 4.3 21.25 6.21 21.25H17.79C19.7 21.25 21.25 19.7 21.25 17.79V10.51C21.25 9.54997 20.56 8.21997 19.77 7.67997L13.59 3.34997C12.45 2.54997 10.57 2.58997 9.48 3.43997Z"
|
||||
fill={stroke}
|
||||
/>
|
||||
<path
|
||||
d="M12 18.75C11.59 18.75 11.25 18.41 11.25 18V15C11.25 14.59 11.59 14.25 12 14.25C12.41 14.25 12.75 14.59 12.75 15V18C12.75 18.41 12.41 18.75 12 18.75Z"
|
||||
fill={stroke}
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
HomeIcon.propTypes = {
|
||||
width: Number,
|
||||
height: Number,
|
||||
stroke: String
|
||||
};
|
||||
@@ -1,6 +1,6 @@
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const SearchInventoryIcon = ({ width = '78', height = '86', color = '#007AFF', ...props }) => (
|
||||
const SearchInventoryIcon = ({ width = 78, height = 86, color = '#007AFF', ...props }) => (
|
||||
<svg
|
||||
width={width}
|
||||
height={height}
|
||||
|
||||
Reference in New Issue
Block a user