MCPcopy Create free account
hub / github.com/artsy/force / HTMLProps

Interface HTMLProps

src/html.ts:3–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { getFontTags } from "fonts"
2
3export interface HTMLProps {
4 cdnUrl: string
5 content: {
6 body?: string
7 sharifyData?: string
8 head?: string
9 linkPreloadTags?: string[]
10 scripts?: string
11 style?: string
12 }
13 disable: {
14 analytics: boolean
15 segment: boolean
16 stripe: boolean
17 scripts: boolean
18 thirdParties: boolean
19 }
20 env: string
21 fontUrl: string
22 icons: {
23 appleTouchIcon: string
24 favicon: string
25 faviconSVG: string
26 }
27 imageCdnUrl: string
28 manifest: {
29 browserconfig: string
30 openSearch: string
31 webmanifest: string
32 }
33}
34
35export function buildHtmlTemplate({
36 cdnUrl,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected