diff --git a/README.md b/README.md index 3d21d22..ea38ed6 100755 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

- React high order component to drive web share widget on react applications 📌. + React higher-order component to drive web share widget on react applications 📌.

@@ -36,7 +36,7 @@ npm install react-web-share-api --save ## Usage -Consume the UI component in the higher order component `button.js`: +Consume the UI component in the higher-order component `button.js`: ```js import React from "react"; @@ -49,7 +49,7 @@ const Button = ({ share, isSupported }) => isSupported export default webShare()(Button); ``` -Pass the configuration to the higher order component `smartComponent.js`: +Pass the configuration to the higher-order component `smartComponent.js`: ```js import React from "react"; @@ -70,7 +70,7 @@ It takes a configuration prop that define how the native widget should behave an #### Does it support Redux or any other flux implementation? -Yes, the configuration is injected from the parent component. In this way it does not matter which flux implementation you are using. At the same time, we are preserving the high order component pattern so you have complete control on the renderer and on the action handler. +Yes, the configuration is injected from the parent component. In this way it does not matter which flux implementation you are using. At the same time, we are preserving the higher-order component pattern so you have complete control on the renderer and on the action handler. #### Does it support Typescript? @@ -85,7 +85,7 @@ Parameter | Type | Description isSupported | boolean | True if the web share api is supported by the browser. share | function: () => WebShare | It will open the share native widget. -Configuration of the high order component: +Configuration of the higher-order component: Parameter | Type | Description -------------- | ------------------------------- | -----------