mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
9 lines
362 B
TypeScript
9 lines
362 B
TypeScript
import type { TextField } from "mdui/components/text-field";
|
|
|
|
type TextFieldProps = React.ComponentPropsWithoutRef<"mdui-text-field">
|
|
|
|
export function MaterialTextField(props: TextFieldProps & { ref?: React.Ref<TextField> }) {
|
|
return <mdui-text-field
|
|
autocomplete="off"
|
|
{...(props as TextFieldProps & { ref?: React.Ref<HTMLElement> })} />
|
|
} |