0.2.0 • Published 7 years ago

@elimux/core v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

Elimux

Elimux is a react component library under development.

Usage

Add elimux as a dependency using npm:

$ npm i @elimux/core

Import the component library into your project

import * as React from "react";
import * as Core from "@elimux/core";

interface Item {
  name: string;
  price: number;
}

class ItemList extends Core.Components.List<Item> {
  renderItem(item: Item) {
    return <span><b>{item.name}</b>: £{item.price}</span>;
  }
}

class HomePage extends Core.Components.Page {
  render() {
    return (
      <div>
        <h2>Items</h2>
        <ItemList items={[
          { name: "Orange", price: 0.99 },
          { name: "Bannana", price: 1.15 }
        ]}/>
      </div>
    );
  }
}

Features

FeatureStatus
CurrencyNeeds Design
ListIn Progress, Needs Design
PageIn Progress, Needs Design
0.2.0

7 years ago

0.1.0

7 years ago

0.0.0

7 years ago