Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rescriptbr/rescript-react-bootstrap

:zap: ReScript bindings for ReactBootstrap
https://github.com/rescriptbr/rescript-react-bootstrap

bootstrap5 react react-bootstrap rescript rescript-bindings rescript-react rescript-react-bindings

Last synced: 17 days ago
JSON representation

:zap: ReScript bindings for ReactBootstrap

Awesome Lists containing this project

README

        






Installation
Examples



## Installation

First you need to install `react-bootstrap` as their [documentation](https://react-bootstrap.github.io/getting-started/introduction).

Basically you'll need to run these commands:

```sh
# with npm
npm add react-bootstrap@next [email protected]

# with yarn
yarn add react-bootstrap@next [email protected]
```

Then, you'll need to import `bootstrap` styles into your app:

```js
// App.js

import "bootstrap/dist/css/bootstrap.min.css";
```

Finally you can install this package running these commands:

```sh
# with npm
npm add -D @rescriptbr/react-bootstrap

# with yarn
yarn add -D @rescriptbr/react-bootstrap
```

## Examples

### Basic Form

```rescript
module Form = ReactBootstrap.Form
module Button = ReactBootstrap.Button
module Container = ReactBootstrap.Container

@react.component
let make = () => {



{`Email`->React.string}


{`Senha`->React.string}


{`Acessar`->React.string}



}
```