Grabbed dndbeyond's source code
``` ~/go/bin/sourcemapper -output ddb -jsurl https://media.dndbeyond.com/character-app/static/js/main.90aa78c5.js ```
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import React from "react";
|
||||
|
||||
import BaseSvg from "../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../hocs";
|
||||
|
||||
export default class FrameSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = ["ddbc-frame-svg"];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 26 26">
|
||||
<rect
|
||||
fill="none"
|
||||
stroke={fillColor}
|
||||
strokeMiterlimit={10}
|
||||
strokeWidth="3px"
|
||||
x="1.5"
|
||||
y="1.5"
|
||||
width="23"
|
||||
height="23"
|
||||
rx="3"
|
||||
ry="3"
|
||||
/>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import { asLightSvg, asThemedSvg } from "../../hocs";
|
||||
import FrameSvg from "./FrameSvg";
|
||||
|
||||
const LightFrameSvg = asLightSvg(FrameSvg);
|
||||
const ThemedFrameSvg = asThemedSvg(FrameSvg);
|
||||
|
||||
export default FrameSvg;
|
||||
export { FrameSvg, LightFrameSvg, ThemedFrameSvg };
|
||||
Reference in New Issue
Block a user