@clebert/bulma-react

A collection of Bulma components for use with React.

Usage no npm install needed!

<script type="module">
  import clebertBulmaReact from 'https://cdn.skypack.dev/@clebert/bulma-react';
</script>

README

@clebert/bulma-react

A collection of Bulma components for use with React.

Installation

npm install @clebert/bulma-react --save

Usage

<!DOCTYPE html>
<html>
  <head>
    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/bulma@0.9.1/css/bulma.min.css"
      integrity="sha256-WLKGWSIJYerRN8tbNGtXWVYnUM5wMJTXD8eG4NtGcDM="
      crossorigin="anonymous"
    />
  </head>

  <body>
    <main id="app"></main>
  </body>
</html>
import * as React from 'react';
import {render} from 'react-dom';
import {BulmaTitle} from '@clebert/bulma-react/lib/bulma-title';

render(
  <BulmaTitle color="info" size="1">
    Hello, World!
  </BulmaTitle>,
  document.querySelector('main#app')
);

Development

Publishing a new release

npm run release patch
npm run release minor
npm run release major

After a new release has been created by pushing the tag, it must be published via the GitHub UI. This triggers the final publication to npm.


Copyright (c) 2020, Clemens Akens. Released under the terms of the MIT License.