import type { HTMLAttributes } from "react"; import { TankComponentButton, type TankComponentButtonProps, } from "./TankComponentButton"; interface GenericTankComponentButtonProps extends TankComponentButtonProps { icon: string; iconStyles?: HTMLAttributes["style"]; } export function GenericTankComponentButton({ icon, iconStyles, children, ...props }: GenericTankComponentButtonProps) { return (
{icon}
{children}
); }