import React from "react"; import { Osztaly2E, OsztalyDescription, OsztalyLabel, OsztalyProperties, OsztalySpecialSkills } from "../domain-models/osztaly2E"; import {Faj2E, SzintKorlatokFajokra} from "../domain-models/faj2E"; function OsztalySelector2E(props: { currentFaj: Faj2E, currentOsztaly: Osztaly2E, changeOsztaly: (newOsztaly: Osztaly2E) => void }) { const {currentFaj, currentOsztaly, changeOsztaly} = props; return <>

{OsztalyDescription(currentOsztaly)}

{OsztalySpecialSkills(currentOsztaly).map(skill =>
{skill.Name} {' '} {skill.Description} {skill.ExtendedDescription && (
    {skill.ExtendedDescription.map((ext, i) => (
  1. {ext}
  2. ))}
)}
)}
} export default OsztalySelector2E;