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,20 @@
|
||||
import React from "react";
|
||||
|
||||
interface Props {
|
||||
name: string;
|
||||
IconComponent: React.ComponentType;
|
||||
}
|
||||
export default class SectionPlaceholder extends React.PureComponent<Props> {
|
||||
render() {
|
||||
const { name, IconComponent } = this.props;
|
||||
|
||||
return (
|
||||
<div className="ct-section-placeholder">
|
||||
<div className="ct-section-placeholder__name">{name}</div>
|
||||
<div className="ct-section-placeholder__icon">
|
||||
<IconComponent />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import SectionPlaceholder from "./SectionPlaceholder";
|
||||
|
||||
export default SectionPlaceholder;
|
||||
export { SectionPlaceholder };
|
||||
Reference in New Issue
Block a user