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