mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: hosting tech
This commit is contained in:
1 parent
94099412b0
commit
a0d6aecf7a
8 files changed
+76
-23
No files matched your search
@@ -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>;
|
||||
Reference in new issue
Block a user