Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32768854
community-creation-content-container.react.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
772 B
Referenced Files
None
Subscribers
None
community-creation-content-container.react.js
View Options
// @flow
import
{
useHeaderHeight
}
from
'@react-navigation/elements'
;
import
*
as
React
from
'react'
;
import
{
View
}
from
'react-native'
;
import
KeyboardAvoidingView
from
'../components/keyboard-avoiding-view.react.js'
;
type
ViewProps
=
React
.
ElementConfig
<
typeof
View
>
;
type
Props
=
ViewProps
;
function
CommunityCreationContentContainer
(
props
:
Props
)
:
React
.
Node
{
const
{
children
,
style
,
...
rest
}
=
props
;
const
headerHeight
=
useHeaderHeight
();
const
backgroundStyle
=
React
.
useMemo
(
()
=>
({
marginTop
:
headerHeight
,
flex
:
1
}),
[
headerHeight
],
);
return
(
<
KeyboardAvoidingView
behavior
=
"padding"
style
=
{
backgroundStyle
}
{...
rest
}
>
{
children
}
<
/KeyboardAvoidingView>
);
}
export
default
CommunityCreationContentContainer
;
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Fri, Jan 9, 12:58 PM (21 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5874828
Default Alt Text
community-creation-content-container.react.js (772 B)
Attached To
Mode
rCOMM Comm
Attached
Detach File
Event Timeline
Log In to Comment