import type { TCssVarsSchema } from '@documenso/lib/types/css-vars'; import { useEffect } from 'react'; import { toNativeCssVarsString } from '~/utils/css-vars'; export type RecipientBrandingPayload = { allowCustomBranding: boolean; colors?: TCssVarsSchema | null; css?: string | null; }; export type RecipientBrandingProps = { branding: RecipientBrandingPayload | null | undefined; cspNonce: string | undefined; }; /** * Renders a `; };