src / Demo.tsx
123456789101112131415import React, { ReactElement } from "react";
import { TextField } from "@react-md/form";
import TextFieldThemeConfig from "./TextFieldThemeConfig";
export default function Demo(): ReactElement {
return (
<TextFieldThemeConfig
idPrefix="text-field"
renderField={(props) => (
<TextField id="configurable-text-field" {...props} />
)}
/>
);
}