react button npm code example

Example 1: react buttons npm

import { AwesomeButton } from "react-awesome-button";import AwesomeButtonStyles from "react-awesome-button/src/styles/styles.scss"; function Button() {  return (    <AwesomeButton cssModule={AwesomeButtonStyles} type="primary">      Button    </AwesomeButton>  );}

Example 2: react buttons npm

import { AwesomeButton } from "react-awesome-button";import "react-awesome-button/dist/styles.css"; function Button() {  return <AwesomeButton type="primary">Button</AwesomeButton>;}

Example 3: react buttons npm

import { AwesomeButton } from "react-awesome-button";import AwesomeButtonStyles from "react-awesome-button/src/styles/styles.scss"; function Button() {  return (    <AwesomeButton      cssModule={AwesomeButtonStyles}      type="primary"      href="https://google.com"      target="_blank"    >      Button    </AwesomeButton>  );}