fleet/frontend/components/DataSet/DataSet.tsx
Gabriel Hernandez 7f803e4629
UI software install feature integrations and polish (#18906)
relates to #18677

implement UI API integrations and polish tasks for the software install
feature. These include various tasks to finish up this feature on the UI
and ensure its working correctly

- [x] Manual QA for all new/changed functionality
2024-05-10 16:18:24 +01:00

23 lines
455 B
TypeScript

import React from "react";
import classnames from "classnames";
const baseClass = "data-set";
interface IDataSetProps {
title: React.ReactNode;
value: React.ReactNode;
className?: string;
}
const DataSet = ({ title, value, className }: IDataSetProps) => {
const classNames = classnames(baseClass, className);
return (
<div className={classNames}>
<dt>{title}</dt>
<dd>{value}</dd>
</div>
);
};
export default DataSet;