From 46977496fd4cbe266c370fcffe59a9d9b7543a92 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Wed, 22 Jun 2022 22:44:07 -0400 Subject: [PATCH] fix(Field): description is a string you idiot --- src/deck-components/Field.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;