Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.
tenginePublic archive

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

17 watching

Forks

Latest commit

 

History

82 Commits

Folders and files

Repository files navigation

blocks-util-js

Demo

Installation

Install the git remote url only.

latest:

yarn add https://github.com/tengine/blocks-util-js/

specific:

yarn add https://github.com/tengine/blocks-util-js#<commit-ish>

dependencies

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import {
  defaultTheme,
  FlatButton
} from 'blocks-util-js';

class Main extends React.Component {
  render() {
    return (
      <MuiThemeProvider muiTheme={defaultTheme}>
        <FlatButton label="Label" />
      </MuiThemeProvider>
    );
  }
}

ReactDOM.render(<Main />, document.getElementById('container'));

Development

git clone git@github.com:tengine/blocks-util-js.git
npm install

production build:

npm run build

development build:

npm run storybook

Update GitHub Pages (Demo):

npm run deploy-storybook

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

17 watching

Forks

Releases

Packages

Used by

Contributors

Languages