(props: ButtonProps)
| 47 | } |
| 48 | |
| 49 | export 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 | |
| 86 | export function Button(props: ButtonProps) { |
| 87 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected