diff --git a/apps/web-tss/src/components/ui/layouts/AppPageLayout.tsx b/apps/web-tss/src/components/ui/layouts/AppPageLayout.tsx index 6a04abe0d..73400e59b 100644 --- a/apps/web-tss/src/components/ui/layouts/AppPageLayout.tsx +++ b/apps/web-tss/src/components/ui/layouts/AppPageLayout.tsx @@ -37,7 +37,6 @@ export const AppPageLayout: React.FC< mainClassName = '', contentContainerId, }) => { - console.log(scrollable, headerBorderVariant); return (
= ({ children, metricId, metric_version_number }) => { - return Metric ID: {metricId}
}>{children}; -}; diff --git a/apps/web-tss/src/layouts/AssetContainer/MetricAssetContainer/MetricAssetContainer.tsx b/apps/web-tss/src/layouts/AssetContainer/MetricAssetContainer/MetricAssetContainer.tsx new file mode 100644 index 000000000..3d2b731e1 --- /dev/null +++ b/apps/web-tss/src/layouts/AssetContainer/MetricAssetContainer/MetricAssetContainer.tsx @@ -0,0 +1,33 @@ +import { AssetContainer } from '../AssetContainer'; +import { MetricContainerHeaderSegment } from './MetricContainerHeaderSegment'; + +export const MetricAssetContainer: React.FC<{ + children: React.ReactNode; + metricId: string; + metric_version_number: number | undefined; +}> = ({ children, metricId, metric_version_number }) => { + return ( + + } + > + {children} + + ); +}; + +const MetricAssetHeader: React.FC<{ + metricId: string; + metric_version_number: number | undefined; +}> = ({ metricId, metric_version_number }) => { + return ( + <> + +
Metric Version Number: {metric_version_number}
+ + ); +}; diff --git a/apps/web-tss/src/layouts/AssetContainer/MetricAssetContainer/index.ts b/apps/web-tss/src/layouts/AssetContainer/MetricAssetContainer/index.ts new file mode 100644 index 000000000..a33d47836 --- /dev/null +++ b/apps/web-tss/src/layouts/AssetContainer/MetricAssetContainer/index.ts @@ -0,0 +1 @@ +export * from './MetricAssetContainer';