From c20370f6c458290a84e22e273bd318cce47a70f2 Mon Sep 17 00:00:00 2001 From: Matthew Costabile Date: Mon, 8 May 2023 15:08:21 +0000 Subject: [PATCH] pass through InputLabel props too --- src/_InputLabel.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/_InputLabel.tsx b/src/_InputLabel.tsx index e1804c7398f..ae1adbd4e1f 100644 --- a/src/_InputLabel.tsx +++ b/src/_InputLabel.tsx @@ -31,6 +31,7 @@ const InputLabel: React.FC> = ({ visuallyHidden, sx, as = 'label', + ...props }) => { return ( > = ({ alignSelf: 'flex-start', ...sx, }} + {...props} > {required ? (