85 lines
1.8 KiB
Markdown
85 lines
1.8 KiB
Markdown
---
|
|
page_type: sample
|
|
products:
|
|
- office-sp
|
|
languages:
|
|
- javascript
|
|
- typescript
|
|
extensions:
|
|
contentType: samples
|
|
technologies:
|
|
- SharePoint Framework
|
|
- Microsoft Graph
|
|
platforms:
|
|
- React
|
|
createdDate: 4/14/2020 12:00:00 AM
|
|
---
|
|
|
|
# Global News
|
|
|
|
## Summary
|
|
|
|
This web part show a world news from various sources, it uses the API available on https://newsapi.org this collect information from news and blog sites arround the world.
|
|
|
|
Please go to https://newsapi.org to get more information.
|
|
|
|
|
|
|
|
![picture of the web part in action](assets/globalNews.gif)
|
|
|
|
|
|
![picture of the web part in action](assets/GlobalNews.png)
|
|
|
|
|
|
## Used SharePoint Framework Version
|
|
|
|
![1.10.0](https://img.shields.io/badge/version-1.10.0-green.svg)
|
|
|
|
## Applies to
|
|
|
|
* [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
|
|
* [Office 365 tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
> none
|
|
|
|
## Solution
|
|
|
|
Solution|Author(s)
|
|
--------|---------
|
|
react-global-news | João Mendes
|
|
|
|
## Version history
|
|
|
|
Version|Date|Comments
|
|
-------|----|--------
|
|
1.0|April 14, 2020|Initial release
|
|
|
|
## Disclaimer
|
|
|
|
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
|
|
|
---
|
|
|
|
## Minimal Path to Awesome
|
|
|
|
* Clone this repository
|
|
* in the command line run:
|
|
* `npm install`
|
|
* `gulp serve`
|
|
|
|
> Include any additional steps as needed.
|
|
|
|
## Features
|
|
|
|
Description of the web part with possible additional details than in short summary.
|
|
This Web Part illustrates the following concepts on top of the SharePoint Framework:
|
|
|
|
* Office-ui-fabric-react components
|
|
* Office-ui-fabric themes
|
|
|
|
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/react-global-news" />
|