mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
17 lines
497 B
TypeScript
17 lines
497 B
TypeScript
import { asset } from '../../core/blitzrinth/asset';
|
|
import { GenericTankComponentButton } from './GenericTankComponentButton';
|
|
import { TankComponentButtonProps } from './TankComponentButton';
|
|
|
|
interface ProvisionButtonProps extends TankComponentButtonProps {
|
|
provision: number;
|
|
}
|
|
|
|
export function ProvisionButton({ provision, ...props }: ProvisionButtonProps) {
|
|
return (
|
|
<GenericTankComponentButton
|
|
icon={asset(`icons/provisions/${provision}.webp`)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|