From f54b309b6555b1674269436d46720edfc7f10ac0 Mon Sep 17 00:00:00 2001 From: Katja Lutz Date: Tue, 26 Jul 2022 16:33:10 +0200 Subject: [PATCH] chore: support jsx element as TextInput suffix --- src/components/Form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Form.tsx b/src/components/Form.tsx index 17da424..b8878a3 100644 --- a/src/components/Form.tsx +++ b/src/components/Form.tsx @@ -25,7 +25,7 @@ export const TextInput: Component< label: string; placeholder?: string; labelMinWidth?: string; - suffix?: string; + suffix?: string | JSX.Element; size?: string; vertical?: boolean; } & JSX.InputHTMLAttributes