react-google-news-widget

1.3.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.1
    0
    • latest

Version History

Package Sidebar

Install

npm i react-google-news-widget

Weekly Downloads

3

Version

1.3.1

License

none

Last publish

Collaborators

  • gabrielrubens