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,25 @@
|
||||
import React from "react";
|
||||
|
||||
import BaseSvg from "../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../hocs";
|
||||
|
||||
export default class PlayButtonSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = ["ddbc-play-button-svg"];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 11 14">
|
||||
<path
|
||||
fill={fillColor}
|
||||
d="M2 3.64L7.27 7L2 10.36V3.64ZM0 0V14L11 7L0 0Z"
|
||||
/>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import { asDarkSvg, asLightSvg, asPositiveSvg, asThemedSvg } from "../../hocs";
|
||||
import PlayButtonSvg from "./PlayButtonSvg";
|
||||
|
||||
const LightPlayButtonSvg = asLightSvg(PlayButtonSvg);
|
||||
const DarkPlayButtonSvg = asDarkSvg(PlayButtonSvg);
|
||||
const ThemedPlayButtonSvg = asThemedSvg(PlayButtonSvg);
|
||||
const PositivePlayButtonSvg = asPositiveSvg(PlayButtonSvg);
|
||||
|
||||
export default PlayButtonSvg;
|
||||
export {
|
||||
PlayButtonSvg,
|
||||
LightPlayButtonSvg,
|
||||
ThemedPlayButtonSvg,
|
||||
DarkPlayButtonSvg,
|
||||
PositivePlayButtonSvg,
|
||||
};
|
||||
Reference in New Issue
Block a user