🎉Welcome to Bit Cloud's new home!Start freeor check out our newcommunity site

phone-auth

v1.0.0arrow_drop_down
v1.0.0
STATUS
Passing
DOWNLOADS
39
VISIBILITY
Public
PUBLISHED
3 years ago
SIZE
89 KB
1 contributor
Install phone-auth as a package?
Copied
npm i @bit/krissnawat.test-collection.components.phone-auth
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Files
index.js
15 Lines(15 sloc)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import React, { Component } from "react";
import { BrowserRouter as Router, Route } from "react-router-dom";
import InputPhone from "./InputPhone";
import PhoneButton from "./PhoneButton";
import "./App.css";
export default class Index extends Component {
  render() {
    return (
      <div>
        <Route exact path="/" component={PhoneButton} />
        <Route path="/input_phone" component={InputPhone} />
      </div>
    );
  }
}
Help and resources