clawchain/dex-app/components/UnderlineButton.tsx
2026-05-15 19:18:10 +03:00

24 lines
477 B
TypeScript

import React, { FC } from "react";
import { Button, ButtonProps } from "@chakra-ui/react";
type Props = {
children: React.ReactNode;
} & ButtonProps;
const UnderlineButton: FC<Props> = ({ children, ...props }) => {
return (
<Button
bg="none"
textDecoration="underline"
_hover={{ bg: "none" }}
_active={{ bg: "none" }}
_focus={{ bg: "none" }}
{...props}
>
{children}
</Button>
);
};
export default UnderlineButton;