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;