soccer-jersey-fixed
Version:
Generate soccer jerseys in SVG format. Fork of the original soccer-jersey package, so that @svgdotjs/svg.js dependency is retrieved from npmjs rather than github
13 lines (12 loc) • 506 B
TypeScript
export interface DrawSoccerJerseyProps {
shirtText: string;
textColor: string;
textOutlineColor?: string;
textBackgroundColor?: string;
shirtColor: string;
sleeveColor: string;
shirtStyle: 'plain' | 'two-color' | 'striped' | 'striped-thin' | 'striped-thick' | 'waves' | 'checkered' | 'hoops' | 'single-band' | 'dashed';
shirtStyleColor?: string;
shirtStyleDirection?: ('diagonal-right' | 'diagonal-left' | 'horizontal' | 'vertical');
isBack?: boolean;
}