feat: hosting tech

This commit is contained in:
TrèsAbhi committed 2024-10-27 22:29:28 -05:00
1 parent 94099412b0
commit a0d6aecf7a
8 files changed
+76 -23

No files matched your search

+5
View File
@@ -3,6 +3,7 @@ import { grayA, grayDark, grayDarkA } from '@radix-ui/colors';
import type { ReactNode } from 'react';
import {
BreakdownPreview,
BreakdownRenderer,
compositeStatsKeysOptions,
} from '../components/Embeds/breakdown';
import type {
@@ -99,3 +100,7 @@ export function extractEmbedConfigDefaults<Config extends EmbedConfig>(
Object.entries(config).map(([key, value]) => [key, value.default]),
) as ExtractEmbedConfigTypes<Config>;
}
export const embedRenderers = {
breakdown: BreakdownRenderer,
} satisfies Record<string, () => ReactNode>;