@alaya-tech/sdgs

React SVG components bundled for Alaya.

Usage no npm install needed!

<script type="module">
  import alayaTechSdgs from 'https://cdn.skypack.dev/@alaya-tech/sdgs';
</script>

README

alaya-sdgs

React SVG components bundled for Alaya.

NPM JavaScript Style Guide

Install

npm install --save alaya-sdgs

Usage

import React, { Component } from 'react';

import SDG from 'alaya-sdgs';
import 'alaya-sdgs/dist/index.css';

class Example extends Component {
  render() {
    return <SDG goal={1} locale="fr" />;
  }
}

License

MIT © alayagood