Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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}
        />
Comment

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"
    />
  );
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: ionic 3 alert 
Javascript :: target url javascript 
Javascript :: toaster cdn 
Javascript :: how to stop react app in terminal 
Javascript :: react disable eslint errors 
Javascript :: datatables integration 
Javascript :: js display 2d array 
Javascript :: Getting Elements by Class Name 
Javascript :: swap key value object javascript 
Javascript :: Install react router in react app 
Javascript :: random item from array javascript 
Javascript :: get value from json.stringify 
Javascript :: print value in jquery 
Javascript :: javascript get current date 
Javascript :: swal con input 
Javascript :: kb to mb js 
Javascript :: inline confirm box javascript 
Javascript :: jquery remove link href 
Javascript :: how to change the choose file button text in react 
Javascript :: javascript assign 
Javascript :: count number of duplicate pairs in array javascript 
Javascript :: console.time 
Javascript :: jquery move li to first position 
Javascript :: sequelize migration add column foreign key 
Javascript :: delta time js 
Javascript :: checkbox event listener 
Javascript :: how to set cookies in node js 
Javascript :: Array Pagination in JS 
Javascript :: express.static 
Javascript :: json stringify pretty 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =