MCPcopy Create free account
hub / github.com/cartesiancs/map3d / PrevButton

Function PrevButton

src/components/button/BottomButton.tsx:49–84  ·  view source on GitHub ↗
(props: ButtonProps)

Source from the content-addressed store, hash-verified

47}
48
49export function PrevButton(props: ButtonProps) {
50 return (
51 <button
52 css={css({
53 position: "absolute",
54 zIndex: 9999,
55 left: "2rem",
56 bottom: "2rem",
57 color: "#000000",
58 backgroundColor: "#ffffff96",
59 backdropFilter: "blur(8px)",
60 border: "none",
61 padding: "0.75rem 1.25rem",
62 borderRadius: "8px",
63 fontWeight: "300",
64 fontSize: "14px",
65 outline: "rgba(240, 240, 244, 0.51) solid 0.1rem",
66 cursor: "pointer",
67 transition: "0.2s",
68 display: props.isShow ? "flex" : "none",
69 alignItems: "center",
70 gap: "0.5rem",
71 ":hover": {
72 backgroundColor: "#ebeef0c2",
73 },
74 ":disabled": {
75 backgroundColor: "#ebeef0c2",
76 cursor: "not-allowed",
77 },
78 })}
79 {...props}
80 >
81 {props.children}
82 </button>
83 );
84}
85
86export function Button(props: ButtonProps) {
87 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected