pitch-invader
Version:
React library designed to simplify the process of creating and managing a football (soccer) starting lineup.
16 lines (14 loc) • 684 B
TypeScript
import { Player, Position, ColorSettings } from '../types';
import { default as React } from 'react';
interface PositionOnPitchProps {
selectedPlayerFromBench: Player | null;
playerOnPosition: Player;
removePlayerFromPitch: (e: React.MouseEvent<SVGSVGElement, MouseEvent>, index: number) => void;
index: number;
addText: string;
shirtDisplayType: string;
colorSettings: ColorSettings;
position: Position;
}
export default function PositionOnPitch({ selectedPlayerFromBench, playerOnPosition, removePlayerFromPitch, index, addText, shirtDisplayType, colorSettings, position }: PositionOnPitchProps): import("react/jsx-runtime").JSX.Element;
export {};