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

Name

Default

Type

Description

style

object

Get the style object

src

string

src for Avatar

children

Node

children of Avatar

size

number

size of Avatar

Divider

props

Name

Default

Type

Description

light

boolean

Divider is generated with light color

component

ReactNode

component to generate Divider with

inset

boolean

if true, Divider is generated indented

TextInput

Prop

Name

Default

Type

Description

type

string

the type of TextInput

name

string

The name of TextInput

multiple

boolean

textInput having multiple lines like TextArea etc ..

disabled

boolean

if true,Input is disabled

Filters

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

API

BootstrapPlugin

Extends Plugin

Bootstrap Plugin

Properties

Internationalization

Components provide support for following languages:

  • Urdu (ur)

  • English (en)

  • Arabic (ar)

  • Chinese (zh)

Last updated