@blueeast/bluerain-plugin-material-ui
TypeScript icon, indicating that this package has built-in type declarations

3.1.2 • Public • Published

Material UI Plugin

Adds Material UI theme Provider to BlueRain. Components of material-ui have been developed using a common interface. https://blueeast.gitbook.io/bluerain-plugin-material-ui

🌏 Web 🖥 Electron 📱 React Native
✔️ ✔️ ✖️

Screenshots

NA

Usage

Run the following command in the plugin directoy:

yarn add  @blueeast/bluerain-plugin-material-ui

Components

Hooks

This plugin provides complete flexibility to modify the material ui theme. This is done by providing various filter hooks.

material-ui.theme

This hook gives the ability to modify the plugin configurations.

Parameters:

Name Type Description
theme Object Custom Theme

Returns:

Name Type Description
theme Object Custom Theme

Example:

This example customizes the theme to make the AppBar color red.

import BR from '@blueeast/bluerain-os';

BR.Filters.add(
'material-ui.theme',
    function CustomTheme(theme) {
        return Object.assign({}, theme, {
            appBar: {
                color: 'red'
            }
        })
    }
);

Demo

API

MaterialUiPlugin

Extends Plugin

Material UI Plugin

Properties

  • pluginName string "MaterialUiPlugin"
  • slug string "material-ui"

Internationalization

Components provide support for following languages:

  • Urdu (ur)
  • English (en)
  • Arabic (ar)
  • Chinese (zh)

Readme

Keywords

none

Package Sidebar

Install

npm i @blueeast/bluerain-plugin-material-ui

Weekly Downloads

1

Version

3.1.2

License

MIT

Unpacked Size

465 kB

Total Files

546

Last publish

Collaborators

  • bluebase-release-bot
  • abubakarsaddique
  • artalat