1.1.0 • Published 4 years ago

@ignitesales/social-share-sms v1.1.0

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
4 years ago

Share SMS | Ignite Neuro

Used for sharing guide results via SMS in the Ignite Neuro application

##Components

ShareViaSms

This is the core component used for the email functionality. The following props are used for the core ShareViaSms component:

NameTypeDefaultDescription
classNamestring''Additional CSS class for the components root DOM node. The default class is shareViaSms
onSubmitFunctionNoOpCall back function once the email is submitted
sendTextMessageFunctionNoOpFunction that should send the text message

ConnectedShareViaSms Properties

This is the connected component used in conjuction with the Nuero application. It uses the ShareViaSms component and automatically passes the following props down:

  • sendTextMessage

The following props are used for the ConnectedShareViaSms component (in addition to the props from ShareViaSms component):

NameTypeDefaultDescription
hasBeenClickedbooleanfalseIf true, this will trigger the "actionStarted" function

Development

npm install
npm start

License

MIT License. Copyright © 2019 Ignite Sales

1.1.0

4 years ago

1.0.0

4 years ago