{0: "ребёнак", 1: "рибёнок", 2: "ребёнок", 3: "рибёнак"}result = this.props.gamedata.questions[2].options.map((item, index, arr) => {
return (
<Button
key={index}
onPress={() => this.getQuestions(item)}
title={item}
>
{item}
</Button>
)
}); const obj = {0: "ребёнак", 1: "рибёнок", 2: "ребёнок", 3: "рибёнак"};
const result = Object.values(obj).map((item, i) => (
<Button
key={i}
onPress={() => this.getQuestions(item)}
title={item}
>
{item}
</Button>
));this.props.gamedata.questions[2].options;this.props.gamedata.questions.map(question => (
<Question key={question.id} data={question} />
));