From a1a8dece8b04fb3e4a6e6bfaa70c57639aac5c41 Mon Sep 17 00:00:00 2001 From: ghandic Date: Fri, 23 Aug 2024 01:35:58 +1000 Subject: [PATCH] Update docs --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c37c3d9..029c8cd 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,10 @@ This package is ideal for developers who want to generate email links with rich ## Installation +```shell +npm install react-mailto +``` + @@ -42,7 +46,7 @@ To create a mailto link with a subject and body content, use the `MailTo` compon ```tsx import React from 'react'; -import { MailTo, MailToBody, MailToTrigger } from 'package-name'; +import { MailTo, MailToBody, MailToTrigger } from '@slalombuild/react-mailto'; const App = () => ( @@ -68,7 +72,7 @@ For more complex scenarios, such as including CC and BCC recipients, or enabling ```tsx import React from 'react'; -import { MailTo, MailToBody, MailToTrigger } from 'package-name'; +import { MailTo, MailToBody, MailToTrigger } from '@slalombuild/react-mailto'; const App = () => (