Adler International, a.s. React Theme Components
Basic Alder Theme Libary for React+Redux TS.
Demo & Examples
To build the examples locally, run:
npm install
npm start
Then open localhost:8000
in a browser.
Installation
npm install adler-theme --save
Usage
Simple usage
/// <reference path="./../Typings/react/react.d.ts"/>
/// <reference path="./../Typings/react/react-dom.d.ts"/>
/// <reference path="./node_modules/alder-theme/src/adlerTheme.d.ts"/>
import * as React from "react";
import * as ReactDOM from "react-dom";
import * as Adler from "./node_modules/alder-theme/src/Adler";
const App = () => (
<div>
<Adler.ExampleComponent />
</div>
);
ReactDOM.render(<App />, document.getElementById('app'));
src
, lib
and the build process)
Development (To build, watch and serve the examples (which will also watch the component source), run npm start
. If you just want to watch changes to src
and rebuild lib
, run npm run watch
(this is useful if you are working with npm link
).
Copyright (c) 2016 Adler International, a.s.