(props: ButtonProps)
| 84 | } |
| 85 | |
| 86 | export function Button(props: ButtonProps) { |
| 87 | return ( |
| 88 | <button |
| 89 | css={css({ |
| 90 | zIndex: 9999, |
| 91 | color: "#000000", |
| 92 | backgroundColor: "#ffffff96", |
| 93 | backdropFilter: "blur(8px)", |
| 94 | border: "none", |
| 95 | padding: "0.75rem 1.25rem", |
| 96 | borderRadius: "8px", |
| 97 | fontWeight: "300", |
| 98 | fontSize: "14px", |
| 99 | outline: "rgba(240, 240, 244, 0.51) solid 0.1rem", |
| 100 | cursor: "pointer", |
| 101 | transition: "0.2s", |
| 102 | display: props.isShow ? "" : "none", |
| 103 | gap: "0.5rem", |
| 104 | ":hover": { |
| 105 | backgroundColor: "#ebeef0c2", |
| 106 | }, |
| 107 | ":disabled": { |
| 108 | backgroundColor: "#ebeef0c2", |
| 109 | cursor: "not-allowed", |
| 110 | }, |
| 111 | })} |
| 112 | {...props} |
| 113 | > |
| 114 | {props.children} |
| 115 | </button> |
| 116 | ); |
| 117 | } |
nothing calls this directly
no outgoing calls
no test coverage detected