(props: h.JSX.HTMLAttributes<HTMLButtonElement>)
| 4 | import { tw } from "@twind"; |
| 5 | |
| 6 | export function Button(props: h.JSX.HTMLAttributes<HTMLButtonElement>) { |
| 7 | return ( |
| 8 | <button |
| 9 | {...props} |
| 10 | disabled={!IS_BROWSER || props.disabled} |
| 11 | class={tw`px-2 py-1 border(gray-100 2) hover:bg-gray-200`} |
| 12 | /> |
| 13 | ); |
| 14 | } |
nothing calls this directly
no outgoing calls
no test coverage detected