Remove unused IconButton component

This commit is contained in:
2026-01-23 09:56:06 +00:00
parent f3020d23c9
commit ea2e20808d

View File

@@ -1,23 +0,0 @@
type IconButtonProps = {
label: string;
iconClass: string;
callback: React.MouseEventHandler<HTMLButtonElement>;
}
function IconButton(props: IconButtonProps) {
const iconClasses = () => {
return `bi ${props.iconClass} me-2`;
};
return (
<button
className="btn text-secondary"
onClick={props.callback}
>
<i className={iconClasses()} />
{props.label}
</button>
)
}
export default IconButton