fleet/frontend/components/side_panels/QuerySidePanel/QueryTableNotes/QueryTableNotes.tsx

24 lines
463 B
TypeScript
Raw Normal View History

import React from "react";
import FleetMarkdown from "components/FleetMarkdown";
interface IQueryTableNotesProps {
notes: string;
}
const baseClass = "query-table-notes";
const QueryTableNotes = ({ notes }: IQueryTableNotesProps) => {
return (
<div className={baseClass}>
<h3>Notes</h3>
<FleetMarkdown
markdown={notes}
className={`${baseClass}__notes-markdown`}
/>
</div>
);
};
export default QueryTableNotes;