mirror of
https://github.com/fleetdm/fleet
synced 2026-04-23 14:37:17 +00:00
21 lines
416 B
TypeScript
21 lines
416 B
TypeScript
|
|
import React from "react";
|
||
|
|
|
||
|
|
import FleetMarkdown from "components/FleetMarkdown";
|
||
|
|
|
||
|
|
interface IQueryTableExampleProps {
|
||
|
|
example: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
const baseClass = "query-table-example";
|
||
|
|
|
||
|
|
const QueryTableExample = ({ example }: IQueryTableExampleProps) => {
|
||
|
|
return (
|
||
|
|
<div className={baseClass}>
|
||
|
|
<h3>Example</h3>
|
||
|
|
<FleetMarkdown markdown={example} />
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
};
|
||
|
|
|
||
|
|
export default QueryTableExample;
|