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

Function NavButton

src/components/nav/TopNav.tsx:128–149  ·  view source on GitHub ↗
(props: ButtonProps)

Source from the content-addressed store, hash-verified

126}
127
128export function NavButton(props: ButtonProps) {
129 return (
130 <button
131 css={css({
132 color: "#000000",
133 backgroundColor: "#ffffff96",
134 backdropFilter: "blur(8px)",
135 border: "none",
136 padding: "0.5rem 1rem",
137 borderRadius: "8px",
138 fontWeight: "300",
139 fontSize: "12px",
140 outline: "rgba(240, 240, 244, 0.51) solid 0.1rem",
141 display: props.isShow ? "" : "none",
142 cursor: "pointer",
143 })}
144 {...props}
145 >
146 {props.children}
147 </button>
148 );
149}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected