MCPcopy Index your code
hub / github.com/OpenPipe/OpenPipe / ExportButton

Function ExportButton

app/src/components/requestLogs/ExportButton.tsx:33–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31import InfoCircle from "../InfoCircle";
32
33const ExportButton = () => {
34 const totalNumLogsSelected = useTotalNumLogsSelected();
35
36 const disclosure = useDisclosure();
37
38 return (
39 <>
40 <ActionButton
41 onClick={disclosure.onOpen}
42 label="Export"
43 icon={BiExport}
44 isDisabled={!totalNumLogsSelected}
45 />
46 <ExportLogsModal disclosure={disclosure} />
47 </>
48 );
49};
50
51export default ExportButton;
52

Callers

nothing calls this directly

Calls 1

useTotalNumLogsSelectedFunction · 0.90

Tested by

no test coverage detected