mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-02-19 03:16:38 +00:00
49 lines
1.5 KiB
Markdown
49 lines
1.5 KiB
Markdown
# Quote of the Day
|
|
|
|
## Summary
|
|
|
|
This web part displays a quote of the day by querying a third-party api or can display a quote entered manually into the web part property pane.
|
|
|
|

|
|
|
|
## Used SharePoint Framework Version
|
|
|
|

|
|
|
|
## Applies to
|
|
|
|
* [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
|
|
|
|
## Solution
|
|
|
|
Solution|Author(s)
|
|
--------|---------
|
|
react-quotes | Zach Roberts
|
|
|
|
## Version history
|
|
|
|
Version|Date|Comments
|
|
-------|----|--------
|
|
1.0| November 11, 2019| 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`
|
|
* In the browser that opens add the web part to your page.
|
|
* After the web part has loaded it will load the quote automatically or you can edit the webparts properties to display a manual quote.
|
|
|
|
## Features
|
|
|
|
This web part loads a random quote from a third-party api (https://favqs.com/api). Additionally a quote can be entered manually and the text color of the quote and author can be adjusted through the web part properties.
|
|
|
|
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/readme-template" />
|