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

Function NextButton

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

Source from the content-addressed store, hash-verified

10}
11
12export function NextButton(props: ButtonProps) {
13 return (
14 <button
15 css={css({
16 position: "absolute",
17 zIndex: 9999,
18 right: "2rem",
19 bottom: "2rem",
20 color: "#000000",
21 backgroundColor: "#ffffff96",
22 backdropFilter: "blur(8px)",
23 border: "none",
24 padding: "0.75rem 1.25rem",
25 borderRadius: "8px",
26 fontWeight: "300",
27 fontSize: "14px",
28 outline: "rgba(240, 240, 244, 0.51) solid 0.1rem",
29 cursor: "pointer",
30 transition: "0.2s",
31 display: props.isShow ? "flex" : "none",
32 alignItems: "center",
33 gap: "0.5rem",
34 ":hover": {
35 backgroundColor: "#ebeef0c2",
36 },
37 ":disabled": {
38 backgroundColor: "#ebeef0c2",
39 cursor: "not-allowed",
40 },
41 })}
42 {...props}
43 >
44 {props.children}
45 </button>
46 );
47}
48
49export function PrevButton(props: ButtonProps) {
50 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected