Skip to content

Latest commit

 

History

History

refps

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

refps npm

React/React Native FPS counter with graph.

screenshot

Install

$ yarn add refps

Usage

type TReFps = {
  backgroundColor: string,
  strokeColor: string,
  strokeWidth: number,
  fontSize: number,
  fontColor: string,
  width: number,
  height: number,
  graphLength: number,
}
import { ReFps } from 'refps'

export const App = () => (
  <ReFps
    backgroundColor="black"
    strokeColor="red"
    strokeWidth={4}
    fontSize={12}
    fontColor="white"
    width={100}
    height={50}
    graphLength={10}
  />
)