fix(striker-ui): export type OutlinedInputLabelProps

main
Tsu-ba-me 3 years ago
parent 522b1e5079
commit 2f4f9da03a
  1. 6
      striker-ui/components/OutlinedInputLabel/OutlinedInputLabel.tsx
  2. 6
      striker-ui/components/OutlinedInputLabel/index.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;

@ -1,3 +1,7 @@
import OutlinedInputLabel from './OutlinedInputLabel';
import OutlinedInputLabel, {
OutlinedInputLabelProps,
} from './OutlinedInputLabel';
export type { OutlinedInputLabelProps };
export default OutlinedInputLabel;

Loading…
Cancel
Save