1import { 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> );}
1import { AwesomeButton } from "react-awesome-button";import AwesomeButtonStyles from "react-awesome-button/src/styles/styles.scss"; function Button() { return ( <AwesomeButton cssModule={AwesomeButtonStyles} type="primary" ripple onPress={() => { // do something }} > Button </AwesomeButton> );}
1import { AwesomeButton } from "react-awesome-button";import "react-awesome-button/dist/styles.css"; function Button() { return <AwesomeButton type="primary">Button</AwesomeButton>;}
1import { 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> );}