“MUI Textfield Font Color” Respostas de código

MUI Textfield Font Color

<TextField
          inputProps={{ style: { fontFamily: 'Arial', color: 'white'}}}
          style={{ flex: 1, margin: '0 20px 0 0', color: 'white'}}
          onChange={(e: ChangeEvent<HTMLInputElement>) => changeSearch(e.target.value)}
          type="text"
          value={reducerState.search}
        />
StuckMaster

Textfield Input Font Color React Material UI

import React from "react";
import { makeStyles } from "@material-ui/core/styles";
import TextField from "@material-ui/core/TextField";

const useStyles = makeStyles({
  input: {
    color: "blue"
  }
});

export default function App() {
  const classes = useStyles();

  return (
    <TextField
      inputProps={{ className: classes.input }}
      id="outlined-basic"
      label="Write something..."
      variant="outlined"
    />
  );
}
Clumsy Copperhead

Respostas semelhantes a “MUI Textfield Font Color”

Perguntas semelhantes a “MUI Textfield Font Color”

Mais respostas relacionadas para “MUI Textfield Font Color” em JavaScript

Procure respostas de código populares por idioma

Procurar outros idiomas de código