confluence-react-components

Official Atlassian base react components.

Usage no npm install needed!

<script type="module">
  import confluenceReactComponents from 'https://cdn.skypack.dev/confluence-react-components';
</script>

README

Coverage Status

confluence-react-components

Official Atlassian Confluence react components

Installation

$ npm install confluence-react-components

Building

$ npm run transpile

Automatically build on file change

$ npm run transpile-watch

Basic usage

// ES6
import { ContentBody } from 'confluence-react-components';

class SomeComponent {
    render() {
        return <ContentBody content={} baseUrl=''/>;
    }
}

Contributing

Running tests

$ npm test

Running linter

$ npm run lint

Checking coverage

$ npm run coverage

Known issues

  • Istanbul coverage checks do not work since upgrading to Babel 6.