Blank Button
An unstyled button component used to add interactions to non-interactive elements.
Anatomy
import { BlankButton } from "@lualtek/react-components";
export default () => {
return (
<BlankButton onClick={() => alert("Image clicked")}>
<img src="..." alt="" />
</BlankButton>
);
};
API Reference
export type BlankButtonProps = ButtonHTMLAttributes<HTMLButtonElement>;