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';
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;

Loading…
Cancel
Save