import styled from '@emotion/styled'; import {Flamegraph} from 'sentry/components/profiling/flamegraph'; import {FlamegraphStateProvider} from 'sentry/utils/profiling/flamegraph/flamegraphStateProvider'; import {FlamegraphThemeProvider} from 'sentry/utils/profiling/flamegraph/flamegraphThemeProvider'; import {importProfile} from 'sentry/utils/profiling/profile/importProfile'; const FlamegraphContainer = styled('div')` display: flex; flex-direction: column; height: 100vh; `; export default { title: 'Components/Profiling/FlamegraphZoomView', }; const eventedProfiles = importProfile( require('sentry/utils/profiling/profile/formats/android/trace.json') ); export const EventedTrace = () => { return ( ); }; const sampledTrace = importProfile( require('sentry/utils/profiling/profile/formats/ios/trace.json') ); export const SampledTrace = () => { return ( ); }; const jsSelfProfile = importProfile( require('sentry/utils/profiling/profile/formats/jsSelfProfile/trace.json') ); export const JSSelfProfiling = () => { return ( {jsSelfProfile ? : null} ); }; const typescriptProfile = importProfile( require('sentry/utils/profiling/profile/formats/typescript/trace.json') ); export const TypescriptProfile = () => { return ( {typescriptProfile ? : null} ); };