Added full screen flex column
Summary: The original flex colum that came as standard did not flex to fill the remainder of the screen. Adding this component allows for a full screen flex column so that the scroll bar in the timeline looks correct. Reviewed By: jknoxville Differential Revision: D16416933 fbshipit-source-id: bd296aea85730f192778ed0aca4b226893b2829d
This commit is contained in:
committed by
Facebook Github Bot
parent
71784b1d64
commit
f313d5edcb
@@ -6,8 +6,8 @@
|
||||
* @flow strict-local
|
||||
*/
|
||||
|
||||
import {FlipperPlugin, FlexColumn} from 'flipper';
|
||||
import {SearchBar} from './components';
|
||||
import {FlipperPlugin} from 'flipper';
|
||||
import {SearchBar, ScrollableFlexColumn} from './components';
|
||||
|
||||
type State = {||};
|
||||
|
||||
@@ -70,12 +70,12 @@ export default class extends FlipperPlugin<State, {}, PersistedState> {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<FlexColumn>
|
||||
<ScrollableFlexColumn>
|
||||
<SearchBar
|
||||
onNavigate={this.navigateTo}
|
||||
onFavorite={(query: string) => {}}
|
||||
/>
|
||||
</FlexColumn>
|
||||
</ScrollableFlexColumn>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user