-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #822 from HSLdevcom/dev
Dev
- Loading branch information
Showing
10 changed files
with
205 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import React from "react"; | ||
import {Svg, Circle, G, Path} from "react-primitives-svg"; | ||
import PropTypes from "prop-types"; | ||
import {Colors} from "./HSL_COLORS"; | ||
import {svgTranslate, svgSize} from "../helpers/svg"; | ||
|
||
export default function Icon({fill, height, width, ...rest}) { | ||
return ( | ||
<Svg | ||
{...svgSize(height, width)} | ||
viewBox="0 0 24 24" | ||
fill={"#007ac9"} | ||
xmlns="http://www.w3.org/2000/svg"> | ||
<Path | ||
d="M15.5 4H18C19.1046 4 20 4.89543 20 6V19C20 20.1046 19.1046 21 18 21H6C4.89543 21 4 20.1046 4 19V6C4 4.89543 4.89543 4 6 4H8.5" | ||
stroke="white" | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
<Path | ||
d="M8.62127 3.51493C8.84385 2.62459 9.64382 2 10.5616 2H13.4384C14.3562 2 15.1561 2.62459 15.3787 3.51493L16 6H8L8.62127 3.51493Z" | ||
stroke="white" | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
<Path d="M9 12L15 12" stroke="white" strokeWidth="2" strokeLinecap="round" /> | ||
<Path d="M9 16H15" stroke="white" strokeWidth="2" strokeLinecap="round" /> | ||
</Svg> | ||
); | ||
} | ||
|
||
Icon.propTypes = { | ||
fill: PropTypes.oneOfType([ | ||
PropTypes.string, | ||
PropTypes.shape({ | ||
inner: PropTypes.string, | ||
outer: PropTypes.string, | ||
}), | ||
]), | ||
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), | ||
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), | ||
}; | ||
|
||
Icon.defaultProps = { | ||
fill: { | ||
inner: Colors.primary.hslGrey, | ||
outer: Colors.primary.hslBlue, | ||
}, | ||
}; | ||
|
||
Icon.displayName = "Icons.ClipBoard"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters