GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rescriptbr/rescript-react-bootstrap: :zap: ReScript bindings for ReactBootstrap

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bsconfig.json
bsconfig.json
 
 
flake.lock
flake.lock
 
 
flake.nix
flake.nix
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation



Installation • Examples



Installation

First you need to install react-bootstrap as their documentation.

Basically you'll need to run these commands:

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

// App.js

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

Finally you can install this package running these commands:

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

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

Examples

Basic Form

module Form = ReactBootstrap.Form
module Button = ReactBootstrap.Button
module Container = ReactBootstrap.Container

@react.component
let make = () => {
  <Container>
    <Form>
      <Form.Group>
        <Form.Label> {`Email`->React.string} </Form.Label>
        <Form.Control _type="email" />
      </Form.Group>

      <Form.Group>
        <Form.Label> {`Senha`->React.string} </Form.Label>
        <Form.Control _type="password" />
      </Form.Group>

      <Button size=#lg _type=#submit>
        {`Acessar`->React.string}
      </Button>
    </Form>
  </Container>
}

About

⚡ ReScript bindings for ReactBootstrap

Topics

bootstrap5reactreact-bootstraprescriptrescript-bindingsrescript-reactrescript-react-bindings

Resources

Readme
MIT license
Activity
Custom properties

Stars

8 stars

Watchers

4 watching

Forks

4 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.