import { ComponentPropsWithRef } from "react";

type ButtonIconProps = ComponentPropsWithRef<"span">;

export const ButtonIcon = (props: ButtonIconProps) => {
  const { children, ...rest } = props;
  return <span {...rest}>{children}</span>;
};
ButtonIcon.displayName = "ButtonIcon";
