diff --git a/src/demo/index.html b/src/demo/index.html index 2fa8e01..2a21c34 100644 --- a/src/demo/index.html +++ b/src/demo/index.html @@ -4,9 +4,10 @@ +
Please hover over Element and Click to copy
++ Install using npm or yarn +
+
+ npm install react-copy-mailto
+
OR
+
+ yarn add react-copy-mailto
+
+ Using in your App +
+
+ import React from "react";
+ import CopyMailTo from "react-copy-mailto";
+ const YourComponent = ()
+ => (
+ <div>
+ <CopyMailTo> email="email@domain.com" />
+ </div>
+ );
+
+ For More Details and Customization +
+