UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

13 lines (12 loc) 388 B
import { jsx as _jsx } from "react/jsx-runtime"; import TextField from "@mui/material/TextField"; /** * Email input * @param props Props */ export function EmailInput(props) { // Destruct const { slotProps, ...rest } = props; // Layout return (_jsx(TextField, { type: "email", fullWidth: true, slotProps: { htmlInput: { maxLength: 128 }, ...slotProps }, ...rest })); }