react-icons/hi#HiPencil JavaScript Examples

The following examples show how to use react-icons/hi#HiPencil. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Usage.js    From handReacting with Apache License 2.0 5 votes vote down vote up
function Usage() {
  const [open, setOpen] = React.useState(false);

  const handleClickOpen = () => {
    setOpen(true);
  };
  const handleClose = () => {
    setOpen(false);
  };

  return (
    <div className="usage">
      <Button variant="contained" color="primary" onClick={handleClickOpen} style={{color: 'white', backgroundColor: '#ec4c4c'}}>
        Usage
      </Button>
      <Dialog onClose={handleClose} aria-labelledby="customized-dialog-title" open={open}>
        <DialogTitle id="customized-dialog-title" onClose={handleClose}>
          <h4>HandReacting</h4>
           <h5>Usage</h5>
        </DialogTitle>
        <DialogContent dividers>
          <Typography gutterBottom className="text">
            <HiPencil /> Choose from 34 fonts that looks handwritten <br />
            <HiPencil /> Adjust font size to choose number of words in a line <br />
            <HiPencil /> Adjust font weight to change boldness of the text <br />
            <HiPencil /> Letter spacing and word spacing helps arrange words more closely<br />
            <HiPencil /> Change font color and paper page color to get paper like appearance<br />
            <HiPencil /> Adjusting line height is important when page lines are enabled<br />
            <HiPencil /> Page lines provide lines in the paper<br />
            <HiPencil /> Scan effect provides a shadow to the page<br />
            <HiPencil /> Page margin gives a margin to the page <br />
            
          </Typography>
        </DialogContent>
        <DialogActions>
          <Button className="button" autoFocus href="https://github.com/hhhrrrttt222111/handReacting" color="primary" 
            target="_blank" rel="noopener noreferrer"
            variant="contained" startIcon={<GitHubIcon />}>
            Visit Repo
          </Button>
        </DialogActions>
      </Dialog>
    </div>
  );
}