SiteMetricsSurface
SiteMetricsSurface(
props
):Element
A container element used to render the Site Metrics surface. This component will take care of styling your component so it looks good as a section rendered under the metrics navigation for sites in the Netlify UI.
Parameters
Parameter | Type | Description |
---|---|---|
props | SiteMetricsSurfaceProps |
Returns
Element
See
Surfaces.SiteMetrics
Example
import { SiteMetricsSurface } from "@netlify/sdk/react/components";
<SiteMetricsSurface> <div>Your surface content goes here</div></SiteMetricsSurface>