mirror of
https://github.com/fleetdm/fleet
synced 2026-04-22 05:57:36 +00:00
20 lines
443 B
TypeScript
20 lines
443 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} name="query-table-example" />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default QueryTableExample;
|