button-danger

Creates a danger button web compoenent

Usage no npm install needed!

<script type="module">
  import buttonDanger from 'https://cdn.skypack.dev/button-danger';
</script>

README

button-danger

Instale o componente

npm i --save button-danger

Como usar

import 'button-danger';

return <button-danger />;

Propriedades

color: string;
disabled: boolean;
fontWeight: string;
onClick: function;
textContent: string;