mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
27 lines
555 B
TypeScript
27 lines
555 B
TypeScript
import React from 'react';
|
|
|
|
import { CloseButton } from '../../../core/components/CloseButton/CloseButton';
|
|
|
|
export function ExemplarModalHeader(props: { onClick: () => void }) {
|
|
return (
|
|
<div
|
|
style={{
|
|
width: '100%',
|
|
display: 'flex',
|
|
justifyContent: 'flex-end',
|
|
paddingBottom: '6px',
|
|
}}
|
|
>
|
|
<CloseButton
|
|
onClick={props.onClick}
|
|
style={{
|
|
position: 'relative',
|
|
top: 'auto',
|
|
right: 'auto',
|
|
marginRight: 0,
|
|
}}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|