/ chart

A React component for display a dial-type chart of PageSpeed Insights

A React component for display a dial-type chart of PageSpeed Insights

React PageSpeed Score

A React component for display a dial-type chart of PageSpeed Insights.

Install

Via Node.js run the following:

$ npm i react-pagespeed-score --save

Basic Usage

import React from 'react';
import ReactDOM from 'react-dom';
import PageSpeedScore from 'react-pagespeed-score';

class BasicUsage extends React.Component {
    render() {
      return (
        <PageSpeedScore url="http://cauealves.com/" />
      );
    }
};

GitHub