Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

react icon

import React from "react";
import Icon from "react-crud-icons";

import "../node_modules/react-crud-icons/dist/react-crud-icons.css";

class Example extends React.Component {
  render() {
    return (
      <Icon
        name = "edit"
        tooltip = "Edit"
        theme = "light"
        size = "medium"
        onClick = { doSomething }
      />
    );
  }
}
Source by reactjsexample.com #
 
PREVIOUS NEXT
Tagged: #react #icon
ADD COMMENT
Topic
Name
3+9 =