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:
+21
@@ -0,0 +1,21 @@
|
||||
import React from "react";
|
||||
|
||||
interface Props {
|
||||
showNotes?: boolean;
|
||||
}
|
||||
export const InventoryTableHeader: React.FC<Props> = ({ showNotes = true }) => {
|
||||
return (
|
||||
<div className="ct-inventory__row-header">
|
||||
<div className="ct-inventory__col ct-inventory__col--active">Active</div>
|
||||
<div className="ct-inventory__col ct-inventory__col--name">Name</div>
|
||||
<div className="ct-inventory__col ct-inventory__col--weight">Weight</div>
|
||||
<div className="ct-inventory__col ct-inventory__col--qty">Qty</div>
|
||||
<div className="ct-inventory__col ct-inventory__col--cost">Cost (gp)</div>
|
||||
{showNotes && (
|
||||
<div className="ct-inventory__col ct-inventory__col--notes">Notes</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default InventoryTableHeader;
|
||||
@@ -0,0 +1,4 @@
|
||||
import InventoryTableHeader from "./InventoryTableHeader";
|
||||
|
||||
export default InventoryTableHeader;
|
||||
export { InventoryTableHeader };
|
||||
Reference in New Issue
Block a user