React/React Native FPS counter with graph.
$ yarn add refps
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}
/>
)