def mobile_feed_tab_content(value): """Callback to change between news and twitter feed """ if value == "mobile-twitter-tab": return twitter_feed() else: return news_feed()
def feed_tab_content(tab_value, country): """Callback for newsfeed """ print(country) if tab_value == "twitter-tab": return twitter_feed(country) return news_feed(country)
def feed_tab_content(tab_value, state): """Callback to change between news and twitter feed """ # print(f"feed tab value {tab_value}") # print(f"feed tab state {state}") if tab_value == "twitter-tab": return twitter_feed(state) else: return news_feed(state)