mirror of
https://github.com/hanzoai/calendar.git
synced 2026-09-24 22:42:24 +00:00
8 lines
336 B
TypeScript
8 lines
336 B
TypeScript
import type { FieldType } from "@calcom/prisma/zod-utils";
|
|
|
|
/**
|
|
* Once a component supports `labelAsSafeHtml`, add it's field's type here
|
|
* A whitelist is needed because unless we explicitly use dangerouslySetInnerHTML, React will escape the HTML
|
|
*/
|
|
export const fieldsThatSupportLabelAsSafeHtml: FieldType[] = ["boolean", "radio"];
|