this.gui
    Preparing search index...

    Variable TextFieldConst

    TextField: <Variant extends TextFieldVariants>(
        props: { variant?: Variant } & Omit<
            OutlinedTextFieldProps
            | StandardTextFieldProps
            | FilledTextFieldProps,
            "variant",
        >,
    ) => Element = MuiTextField

    Type Declaration

      • <Variant extends TextFieldVariants>(
            props: { variant?: Variant } & Omit<
                OutlinedTextFieldProps
                | StandardTextFieldProps
                | FilledTextFieldProps,
                "variant",
            >,
        ): Element
      • The TextField is a convenience wrapper for the most common cases (80%). It cannot be all things to all people, otherwise the API would grow out of control.

        It's important to understand that the text field is a simple abstraction on top of the following components:

        If you wish to alter the props applied to the input element, you can do so as follows:

        const inputProps = {
          step: 300,
        };
        
        return ;
        

        For advanced cases, please look at the source of TextField by clicking on the "Edit this page" button above. Consider either:

        • using the upper case props for passing values directly to the components
        • using the underlying components directly as shown in the demos

        Demos:

        API:

        Type Parameters

        • Variant extends TextFieldVariants

        Parameters

        • props: { variant?: Variant } & Omit<
              OutlinedTextFieldProps
              | StandardTextFieldProps
              | FilledTextFieldProps,
              "variant",
          >
          • Optionalvariant?: Variant

            The variant to use.

            'outlined'
            

        Returns Element