File tree Expand file tree Collapse file tree
example/src/components/Embedded Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,8 +20,11 @@ const styles = StyleSheet.create({
2020 button,
2121 buttonText,
2222 container,
23- embeddedItem : {
24- marginBottom : 16 ,
23+ embeddedSection : {
24+ display : 'flex' ,
25+ flexDirection : 'column' ,
26+ gap : 16 ,
27+ paddingHorizontal : 16 ,
2528 } ,
2629 hr,
2730 inputContainer : {
Original file line number Diff line number Diff line change @@ -208,19 +208,20 @@ export const Embedded = () => {
208208 </ View >
209209 </ Modal >
210210 < View style = { styles . hr } />
211- < EmbeddedSessionManager isActive = { isFocused } >
212- < ScrollView >
213- { embeddedMessages . map ( ( message ) => (
214- < View style = { styles . embeddedItem } key = { message . metadata . messageId } >
211+ < ScrollView >
212+ < View style = { styles . embeddedSection } >
213+ < EmbeddedSessionManager isActive = { isFocused } >
214+ { embeddedMessages . map ( ( message ) => (
215215 < IterableEmbeddedView
216+ key = { message . metadata . messageId }
216217 viewType = { selectedViewType }
217218 message = { message }
218219 config = { viewConfig }
219220 />
220- </ View >
221- ) ) }
222- </ ScrollView >
223- </ EmbeddedSessionManager >
221+ ) ) }
222+ </ EmbeddedSessionManager >
223+ </ View >
224+ </ ScrollView >
224225 </ SafeAreaView >
225226 ) ;
226227} ;
You can’t perform that action at this time.
0 commit comments