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)}
{OsztalyProperties(currentOsztaly).map(((special, i) => (- {special}
)))}
{OsztalySpecialSkills(currentOsztaly).map(skill =>
{skill.Name}
{' '}
{skill.Description}
{skill.ExtendedDescription && (
{skill.ExtendedDescription.map((ext, i) =>
(- {ext}
))}
)}
)}
>
}
export default OsztalySelector2E;