diff --git a/src/deck-components/Field.tsx b/src/deck-components/Field.tsx index b836370..6ca25c8 100644 --- a/src/deck-components/Field.tsx +++ b/src/deck-components/Field.tsx @@ -2,8 +2,8 @@ import { FC, HTMLAttributes, ReactNode, RefAttributes } from 'react'; import { findModuleChild } from '../webpack'; export interface FieldProps extends HTMLAttributes { - label?: string; - description?: boolean; + label?: string | ReactNode; + description?: string | ReactNode; disabled?: boolean; icon?: ReactNode; childrenLayout?: string;