node package manager

frh-react-dial-pad

react logo

FRH React Dial Pad

Simple React phone dial pad component inspired by the jQuery dialpad plugin demo.

screenshot

Demo

Try the demo here.

Installation

Usage

Basic usage

import React    from 'react'
import ReactDOM from 'react-dom'
import Dial     from 'frh-react-dial-pad'
 
ReactDOM.render(
  <Dial />,
  document.getElementById('main')
)

Only the number pad

import React    from 'react'
import ReactDOM from 'react-dom'
 
import { DialPad } 
  from 'frh-react-dial-pad'
 
ReactDOM.render(
  <DialPad />,
  document.getElementById('main')
)

Contribute

License

BSD