Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 364 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 364 Bytes

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} />
  </>
)