# Bootstrap BlueRain Plugin

Adds [bootstrap](http://getbootstrap.com) 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

* AppBar [Web](https://reactstrap.github.io/components/navbar/)
* Button [Web](https://reactstrap.github.io/components/buttons/)
* Card   [Web](https://reactstrap.github.io/components/card/)
* CardHeader [Web](https://getbootstrap.com/docs/4.1/components/card/)
* CardBody [Web](https://getbootstrap.com/docs/4.1/components/card/)
* CardMedia [Web](https://getbootstrap.com/docs/4.1/components/card/)
* CardFooter [Web](https://getbootstrap.com/docs/4.1/components/card/)
* Dropdown  [Web](https://reactstrap.github.io/components/dropdowns/) &#x20;
* List [Web](https://reactstrap.github.io/components/listgroup/) &#x20;
* ListHeader [Web](https://reactstrap.github.io/components/listgroup/) &#x20;
* ListItem [Web](https://reactstrap.github.io/components/listgroup/) &#x20;
* ListItemAvatar [Web](https://reactstrap.github.io/components/listgroup/) &#x20;
* ListItemIcon[Web](https://reactstrap.github.io/components/listgroup/) &#x20;
* ListItemRightButton [Web](https://reactstrap.github.io/components/listgroup/) &#x20;
* ListItemText [Web](https://reactstrap.github.io/components/listgroup/) &#x20;

### 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.

### [Demo](https://BlueEastCode.github.io/bluerain-plugin-bootstrap/)

## API

### BootstrapPlugin

### **Extends** [**Plugin**](https://blueeast.gitbook.io/bluerain-os/api/api-reference#plugin)

Bootstrap Plugin

### **Properties**

* `pluginName` [**string**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) "BootstrapPlugin"
* `slug` [**string**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) "bootstrap"

### **Internationalization**

Components provide support for following languages:

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blueeast.gitbook.io/bluerain-plugin-bootstrap/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
