Answers for "onchange textfield material ui color"

-3

change text color material ui

import React from "react";
import { withStyles } from "@material-ui/core/styles";
import Typography from "@material-ui/core/Typography";

const WhiteTextTypography = withStyles({
  root: {
    color: "#FFFFFF"
  }
})(Typography);

export default function App() {
  return (
    <div className="App" style={{ backgroundColor: "black" }}>
      <WhiteTextTypography variant="h3">
        This text should be white
      </WhiteTextTypography>
    </div>
  );
}
Posted by: Guest on March-03-2021
0

uitextfield change placeholder color

swift 5 
myTextfield.attributedPlaceholder =
NSAttributedString( 
  string: "placeholder text", 
  attributes: [
    NSAttributedString.Key.foregroundColor: UIColor.red
  ]
)
Posted by: Guest on September-28-2021

Code answers related to "onchange textfield material ui color"

Code answers related to "Swift"

Browse Popular Code Answers by Language