| 5 | import useCheckViewport from "@/hooks/useCheckViewport"; |
| 6 | |
| 7 | interface ScrollButtonProps extends ButtonProps { |
| 8 | // size?: "large"; |
| 9 | width?: string | number; |
| 10 | loading?: boolean; |
| 11 | disabled?: boolean; |
| 12 | download?: boolean; |
| 13 | // variant?: "contained" | "outlined"; |
| 14 | isExternal?: boolean; |
| 15 | |
| 16 | // compatibility |
| 17 | target?: string; |
| 18 | rel?: string; |
| 19 | href?: string; |
| 20 | } |
| 21 | |
| 22 | const useStyles = makeStyles<any>()((theme, { size, variant }) => ({ |
| 23 | button: { |
nothing calls this directly
no outgoing calls
no test coverage detected