0.2.0 • Published 6 years ago

fronto-material-ui v0.2.0

Weekly downloads
16
License
-
Repository
github
Last release
6 years ago

Fronto MaterialUI

React component connecting your Fronto config with application created using material-ui.


fronto.io

Installation

Add fronto-material-ui to your package.json:

$ npm install fronto-material-ui

Usage

Import fronto component in application entry file and wrap your app with it:

import React from 'react';
import ReactDOM from 'react-dom';
import {FrontoThemeProvider} from 'fronto-material-ui';

import YourAppRootComponent from './YourAppRootComponent';
 
function App() {
  return (
    <FrontoThemeProvider clientId={'5b1acfb121652a131b0662c6'}>
      <YourAppRootComponent/>
    </FrontoThemeProvider>
  );
}
 
ReactDOM.render(<App />, document.querySelector('#app'));
0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago