Package Exports
- react-paper-button
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-paper-button) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Paper Button v1.0.4
Installation
npm i react-paper-button
Adding to your react project
import React from "react";
import { render } from "react-dom";
import PaperButton from "react-paper-button";
render(
<PaperButton onClick={() => console.log("Clicked!")}>
<span>Click me</span>
</PaperButton>,
document.getElementById("root")
);
Props
Name | isRequired | Value |
---|---|---|
children | true | node |
onClick | false | func |
className | false | string |
background | false | string |
bubbleColor | false | string |