@fabn/react-loading-button
v1.0.0
Published
react-loading-button React component
Downloads
13
Readme
Mountable components with react
This package is automatically published as proof of concept in NPM
Try it with zero dependencies, drop this file in your browser:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Static Template</title>
<script
src="https://unpkg.com/react@17/umd/react.development.js"
crossorigin
></script>
<script
src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"
crossorigin
></script>
<script src="https://unpkg.com/[email protected]/react_ujs/dist/react_ujs.js"></script>
<script src="https://unpkg.com/@fabn/[email protected]/umd/react-loading-button.min.js"></script>
</head>
<body>
<h1>
This is a static template, there is no bundler or bundling involved!
</h1>
<p>First compoent mounted: start from 0 (default value)</p>
<div data-react-class="RC.Counter"></div>
<p>First compoent mounted: start from 20</p>
<div
data-react-class="RC.Counter"
data-react-props='{"startFrom":20}'
></div>
</body>
</html>