-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fitch): cooler design for fitch proof
- Loading branch information
Showing
4 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
const IconButton = (props: any) => { | ||
return <button {...props} type="button" className="group-hover:flex hidden items-center justify-center w-10 h-10"></button>; | ||
import { JSX } from "solid-js"; | ||
|
||
const IconButton = (props: JSX.ButtonHTMLAttributes<HTMLButtonElement>) => { | ||
return <button tabIndex={-1} {...props} type="button" class={"group-hover:flex hidden items-center justify-center w-10 h-10 " + props.class}></button>; | ||
}; | ||
|
||
export default IconButton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters