sendou.ink/frontend/components/common/Button.tsx
2021-10-25 16:45:29 +03:00

17 lines
295 B
TypeScript

import { Button as MantineButton } from "@mantine/core";
import { ReactNode } from "react";
export function Button({
children,
icon,
}: {
children: ReactNode;
icon: ReactNode;
}) {
return (
<MantineButton radius="lg" rightIcon={icon}>
{children}
</MantineButton>
);
}