fix(striker-ui): export props type in OutlinedInput

main
Tsu-ba-me 3 years ago
parent 85314c9367
commit d867cd30f3
  1. 8
      striker-ui/components/OutlinedInput/OutlinedInput.tsx

@ -6,9 +6,9 @@ import {
import { GREY, TEXT, UNSELECTED } from '../../lib/consts/DEFAULT_THEME'; import { GREY, TEXT, UNSELECTED } from '../../lib/consts/DEFAULT_THEME';
const OutlinedInput = ( type OutlinedInputProps = MUIOutlinedInputProps;
outlinedInputProps: MUIOutlinedInputProps,
): JSX.Element => { const OutlinedInput = (outlinedInputProps: OutlinedInputProps): JSX.Element => {
const { label, sx } = outlinedInputProps; const { label, sx } = outlinedInputProps;
const combinedSx = { const combinedSx = {
color: GREY, color: GREY,
@ -49,4 +49,6 @@ const OutlinedInput = (
); );
}; };
export type { OutlinedInputProps };
export default OutlinedInput; export default OutlinedInput;

Loading…
Cancel
Save