From d867cd30f3a807cbfc45a00b4bca0a47bb104b67 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Thu, 7 Apr 2022 13:01:55 -0400 Subject: [PATCH] fix(striker-ui): export props type in OutlinedInput --- striker-ui/components/OutlinedInput/OutlinedInput.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/striker-ui/components/OutlinedInput/OutlinedInput.tsx b/striker-ui/components/OutlinedInput/OutlinedInput.tsx index 1f8f47e4..0f24812c 100644 --- a/striker-ui/components/OutlinedInput/OutlinedInput.tsx +++ b/striker-ui/components/OutlinedInput/OutlinedInput.tsx @@ -6,9 +6,9 @@ import { import { GREY, TEXT, UNSELECTED } from '../../lib/consts/DEFAULT_THEME'; -const OutlinedInput = ( - outlinedInputProps: MUIOutlinedInputProps, -): JSX.Element => { +type OutlinedInputProps = MUIOutlinedInputProps; + +const OutlinedInput = (outlinedInputProps: OutlinedInputProps): JSX.Element => { const { label, sx } = outlinedInputProps; const combinedSx = { color: GREY, @@ -49,4 +49,6 @@ const OutlinedInput = ( ); }; +export type { OutlinedInputProps }; + export default OutlinedInput;