mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
28 lines
559 B
TypeScript
28 lines
559 B
TypeScript
import type {ReactNode} from 'react';
|
|
|
|
import {EventDataSection} from 'sentry/components/events/eventDataSection';
|
|
import {t} from 'sentry/locale';
|
|
|
|
type EventReplaySectionProps = {
|
|
children: JSX.Element | null;
|
|
actions?: ReactNode;
|
|
className?: string;
|
|
};
|
|
|
|
export function EventReplaySection({
|
|
className,
|
|
children,
|
|
actions,
|
|
}: EventReplaySectionProps) {
|
|
return (
|
|
<EventDataSection
|
|
type="replay"
|
|
title={t('Session Replay')}
|
|
className={className}
|
|
actions={actions}
|
|
>
|
|
{children}
|
|
</EventDataSection>
|
|
);
|
|
}
|