Skip to content
react-task-lib / 2.0.25

react-task-lib 2.0.25

Install from the command line:
Learn more about npm packages
$ npm install @france-ioi/react-task-lib@2.0.25
Install via package.json:
"@france-ioi/react-task-lib": "2.0.25"

About this version

react-task-lib

Library to create France IOI tasks with React.js

Install

yarn add @france-ioi/react-task-lib

To be able to download the library (because it is hosted on Github and not NPM), you have to setup your ~/.npmrc file:

registry=https://registry.npmjs.org/
@france-ioi:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=your_token

your_token has to be replaced by a Github token you have to generate here: https://github.com/settings/tokens/new You have to check at least read:packages but you are also invited to check write:packages if you want to contribute to this library.

Usage

import React, {Component} from 'react';

import SpecificComponent from 'react-task-lib';
import 'react-task-lib/dist/index.css';

class Example extends Component {
  render() {
    return <SpecificComponent />
  }
}

Example

You can find an example usage under the example/ folder. You can make the example work in your browser by doing yarn start into the example folder.

Details


Assets

  • react-task-lib-2.0.25.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0