PG
Size: a a a
PG
K
АБ
СМ
A
SK
<PrivateRoute exact path="/choose-office" component={ChooseOfficeContainer} auth={this.props.auth}/>
<PrivateRoute exact path="/admin/settings/users/user/:id(.*)?" component={AdminSettingsUsersUser} auth={this.props.auth}/>
<PrivateRoute exact path="/case/caselist/case-list" component={CaseList} auth={this.props.auth}/>
SK
[
{
'path' => '**',
'component' => 'ChooseOfficeContainer'
},
....
]
СМ
SK
SK
PI
PI
ChooseOfficeContainer
from '...'ChooseOfficeContainer
,component
: name }) => (SK
ChooseOfficeContainer
from '...'ChooseOfficeContainer
,component
: name }) => (НК
SK
ChooseOfficeContainer
from '...'ChooseOfficeContainer
,component
: name }) => (VK
Ш
componentDidMount
получить высоту компонента в пыксолях?PI
Ш
FS