github.com/thanos-io/thanos@v0.32.5/pkg/ui/react-app/src/pages/targets/Targets.tsx (about) 1 import React, { FC } from 'react'; 2 import { RouteComponentProps } from '@reach/router'; 3 import Filter from './Filter'; 4 import ScrapePoolList from './ScrapePoolList'; 5 import PathPrefixProps from '../../types/PathPrefixProps'; 6 import { useLocalStorage } from '../../hooks/useLocalStorage'; 7 8 const Targets: FC<RouteComponentProps & PathPrefixProps> = ({ pathPrefix }) => { 9 const scrapePoolListProps = { pathPrefix }; 10 11 return ( 12 <> 13 <h2>Targets</h2> 14 <ScrapePoolList {...scrapePoolListProps} /> 15 </> 16 ); 17 }; 18 19 export default Targets;