Skip to content

brunoguerra/react-google-news-widget

Repository files navigation

React GoogleNews Widget

GoogleNewsContainer Component

This is main component what fetchs and show cards with content.

See the demo here https://astrocoders.com/react-google-news-widget

Props

queryString: When this props changes container will fetchs new data if its different of last queryString prop passed

lang: Using google news uri hl param, set language for the fetching data. The default is 'pt-BR'.

location: Using google news uri ned param, set location for the fetching data. The default is 'pt-BR_br'.

size: Using google news uri num param, set max articles for the fetching. The default is 10.

About

A Google-News React Component as Widget for your web app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published