Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 381 Bytes

Sms.md

File metadata and controls

25 lines (17 loc) · 381 Bytes

<Sms>

Creates <a> element with href attribute formatted according to SMS protocol.

Usage

import {Sms} from 'libreact/lib/Sms';

<Sms phone='123' body='hello'>Click me!</Sms>

Props

interface ISmsProps {
  phone: string;
  body?: string;
}

, where

  • phone - required, string, phone number.
  • body - optional, string, SMS text body.