metasoccer-jersey
Version:
Generate soccer jerseys in SVG format
7 lines (6 loc) • 344 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import SoccerJersey from '../index';
export const ReactTeamPage = (props) => {
const jerseyImgSrc = SoccerJersey.draw(props); //
return (_jsx("div", { style: { textAlign: 'center' }, children: _jsx("img", { src: jerseyImgSrc, style: { display: 'inline-block', maxWidth: 480 } }) }));
};