1.0.0 • Published 6 years ago

@blueeast/bluerain-plugin-bootstrap v1.0.0

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

Bootstrap BlueRain Plugin

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

Usage

Run the following command in the plugin directoy:

yarn add @blueeast/bluerain-plugin-bootstrap

Components

Avatar

Props

NameDefaultTypeDescription
styleobjectGet the style object
srcstringsrc for Avatar
childrenNodechildren of Avatar
sizenumbersize of Avatar

Divider

props

NameDefaultTypeDescription
lightbooleanDivider is generated with light color
componentReactNodecomponent to generate Divider with
insetbooleanif true, Divider is generated indented

TextInput

Prop

NameDefaultTypeDescription
typestringthe type of TextInput
namestringThe name of TextInput
multiplebooleantextInput having multiple lines like TextArea etc ..
disabledbooleanif true,Input is disabled

Filters

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

Demo

API

BootstrapPlugin

Extends Plugin

Bootstrap Plugin

Properties

Internationalization

Components provide support for following languages:

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