File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
example/src/Examples/SegmentedButtons Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ const SegmentedButtonMultiselectRealCase = () => {
5151 < FlatList
5252 data = { value . length > 0 ? filteredData : restaurantsData }
5353 keyExtractor = { ( item ) => item . id }
54+ contentContainerStyle = { styles . contentContainer }
5455 renderItem = { ( { item } ) => {
5556 return (
5657 < Card mode = "contained" style = { styles . card } >
@@ -75,6 +76,10 @@ const SegmentedButtonMultiselectRealCase = () => {
7576const styles = StyleSheet . create ( {
7677 container : {
7778 marginVertical : 16 ,
79+ flex : 1 ,
80+ } ,
81+ contentContainer : {
82+ paddingBottom : 16 ,
7883 } ,
7984 card : {
8085 marginHorizontal : 16 ,
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ const SegmentedButtonRealCase = () => {
3232 < FlatList
3333 data = { value === 'songs' ? songsData : albumsData }
3434 keyExtractor = { ( item ) => item . id }
35+ contentContainerStyle = { styles . contentContainer }
3536 renderItem = { ( { item } ) => {
3637 return (
3738 < Card mode = "contained" style = { styles . card } >
@@ -56,6 +57,10 @@ const SegmentedButtonRealCase = () => {
5657const styles = StyleSheet . create ( {
5758 container : {
5859 marginVertical : 16 ,
60+ flex : 1 ,
61+ } ,
62+ contentContainer : {
63+ paddingBottom : 16 ,
5964 } ,
6065 card : {
6166 marginHorizontal : 16 ,
You can’t perform that action at this time.
0 commit comments