mirror of
https://github.com/fleetdm/fleet
synced 2026-04-22 05:57:36 +00:00
24 lines
463 B
TypeScript
24 lines
463 B
TypeScript
|
|
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;
|