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,27 @@
|
||||
import QuestionMarkIcon from "@mui/icons-material/QuestionMark";
|
||||
import { Button } from "@mui/material";
|
||||
import { useTour } from "@reactour/tour";
|
||||
|
||||
export default () => {
|
||||
const { setIsOpen } = useTour();
|
||||
|
||||
return (
|
||||
<Button
|
||||
className="ct-character-guided-tour"
|
||||
variant="contained"
|
||||
color="info"
|
||||
onClick={() => setIsOpen(true)}
|
||||
sx={{
|
||||
position: "fixed",
|
||||
zIndex: 9,
|
||||
p: 1,
|
||||
borderRadius: "100%",
|
||||
minWidth: 0,
|
||||
bottom: { xs: 100, md: 20 },
|
||||
right: 20,
|
||||
}}
|
||||
>
|
||||
<QuestionMarkIcon />
|
||||
</Button>
|
||||
);
|
||||
};
|
||||
@@ -0,0 +1,4 @@
|
||||
import GuidedTourButton from "./GuidedTourButton";
|
||||
|
||||
export default GuidedTourButton;
|
||||
export { GuidedTourButton };
|
||||
Reference in New Issue
Block a user