Files
flxn-app/src/components/button.tsx
T
2025-10-10 16:03:51 -05:00

14 lines
400 B
TypeScript

import {
Button as MantineButton,
ButtonProps as MantineButtonProps,
} from "@mantine/core";
import { forwardRef, ComponentPropsWithoutRef } from "react";
type ButtonProps = MantineButtonProps & ComponentPropsWithoutRef<"button">;
const Button = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {
return <MantineButton fullWidth ref={ref} {...props} />;
});
export default Button;