0.1.2 • Published 4 years ago

react-faker v0.1.2

Weekly downloads
10
License
MIT
Repository
github
Last release
4 years ago

React Faker

A react component that mocks your APIs in dev environment.

Installation

npm install --save-dev react-faker

Usage

import ReactFaker in the top-level component

import React from 'react';
import ReactFaker from 'react-faker';

const App = () => (
  <>
    <App />
    <ReactFaker initialFakeApis={mockData} />
  </>
)