diff --git a/striker-ui/components/OutlinedInputLabel/OutlinedInputLabel.tsx b/striker-ui/components/OutlinedInputLabel/OutlinedInputLabel.tsx index be684253..eb9780f0 100644 --- a/striker-ui/components/OutlinedInputLabel/OutlinedInputLabel.tsx +++ b/striker-ui/components/OutlinedInputLabel/OutlinedInputLabel.tsx @@ -6,8 +6,10 @@ import { import { BLACK, BORDER_RADIUS, GREY } from '../../lib/consts/DEFAULT_THEME'; +type OutlinedInputLabelProps = MUIInputLabelProps; + const OutlinedInputLabel = ( - inputLabelProps: MUIInputLabelProps, + inputLabelProps: OutlinedInputLabelProps, ): JSX.Element => { const { children, sx } = inputLabelProps; const combinedSx = { @@ -40,4 +42,6 @@ const OutlinedInputLabel = ( ); }; +export type { OutlinedInputLabelProps }; + export default OutlinedInputLabel; diff --git a/striker-ui/components/OutlinedInputLabel/index.tsx b/striker-ui/components/OutlinedInputLabel/index.tsx index cbf38ad7..466a6d5d 100644 --- a/striker-ui/components/OutlinedInputLabel/index.tsx +++ b/striker-ui/components/OutlinedInputLabel/index.tsx @@ -1,3 +1,7 @@ -import OutlinedInputLabel from './OutlinedInputLabel'; +import OutlinedInputLabel, { + OutlinedInputLabelProps, +} from './OutlinedInputLabel'; + +export type { OutlinedInputLabelProps }; export default OutlinedInputLabel;