-
-
- Выбери соседа
-
-
-
- Не забывай, с этим человеком
- придется жить бок-о-бок!
-
-
-
+ 123
{
- [...Array(11)].map((_, i) => {
- if (i == 5) return
;
-
+ this.props.value.map(x => {
return (
@@ -254,9 +261,50 @@ class Users extends React.Component {
- );
+ )
})
}
+
+ );
+ }
+}
+
+class Users extends React.Component {
+
+ constructor(props) {
+ super(props);
+ this.state = {
+ data: [{}],
+ loading: false
+ }
+ }
+
+ componentDidMount() {
+
+ }
+
+ render() {
+ return (
+
+
+
+ Выбери соседа
+
+
+
+ Не забывай, с этим человеком
+ придется жить бок-о-бок!
+
+
+
+ {
+ this.state.loading ?
+ :
+
+ Пожалуйста подождите, идет загрузка данных
+
+
+ }
)