UNPKG

react-metrics

Version:

An analytics library for React.js

16 lines (12 loc) 267 B
import {shape, object, string} from "prop-types"; export const metrics = object; export const location = shape({ pathname: string.isRequired, search: string.isRequired, query: object, state: object }); export default { metrics, location };