mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-18 04:59:23 +00:00
19 lines
391 B
TypeScript
19 lines
391 B
TypeScript
import { TextField, TextFieldProps } from "@mui/material";
|
|
import { memo } from "react";
|
|
|
|
export type Props = TextFieldProps;
|
|
|
|
const StyledComponent = (props: Props) => (
|
|
<TextField
|
|
fullWidth
|
|
hiddenLabel
|
|
size="small"
|
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
{...props}
|
|
/>
|
|
);
|
|
|
|
export const Component = memo(StyledComponent);
|
|
|
|
export default Component;
|