MailtoLink
minimal usage
with blank target
with onClick
with subject and body
with cc and bcc
with multiple cc and bcc
MailtoLink Props API
- childrennodeRequiredContent of the MailToLink
- classNamestringCustom class names for the MailToLink
- toemailPropType[]|emailPropTypeDefault[]Specifies the email's recipients 
- ccemailPropType[]|emailPropTypeDefault[]Specifies the email's carbon copy recipients 
- bccemailPropType[]|emailPropTypeDefault[]Specifies the email's blind carbon copy recipients 
- subjectstringDefault''Specifies the email's subject 
- bodystringDefault''Specifies the email's body 
- targetstringDefault'_self'Specifies where the link should open. The default behavior is _self, which means that the URL will be loaded into the same browsing context as the current one
- onClickfuncDefaultnullSpecifies the callback function when the link is clicked 
- externalLinkshape{alternativeText:isRequiredIf(PropTypes.string, props => props.target === '_blank'),title:}isRequiredIf(PropTypes.string, props => props.target === '_blank'),Default{ alternativeText: MAIL_TO_LINK_EXTERNAL_LINK_ALTERNATIVE_TEXT, title: MAIL_TO_LINK_EXTERNAL_LINK_TITLE, }The object that contains the alternativeTextandtitlefields which specify the text and title for links with a_blanktarget (which loads the URL in a new browsing context).