feat/v2/uptime/create
This commit is contained in:
1 parent
5dbfb3b8c5
commit
938d9b6642
18 files changed
+590
-7
No files matched your search
@@ -1,5 +1,15 @@
|
||||
import { forwardRef } from "react";
|
||||
import TextField from "@mui/material/TextField";
|
||||
import type { TextFieldProps } from "@mui/material";
|
||||
export const TextInput = (props: TextFieldProps) => {
|
||||
return <TextField {...props} />;
|
||||
};
|
||||
|
||||
export const TextInput = forwardRef<HTMLInputElement, TextFieldProps>(
|
||||
function TextInput(props, ref) {
|
||||
return (
|
||||
<TextField
|
||||
{...props}
|
||||
inputRef={ref}
|
||||
/>
|
||||
);
|
||||
}
|
||||
);
|
||||
TextInput.displayName = "TextInput";
|
||||
Reference in new issue
Block a user