GithubHelp home page GithubHelp logo

vatesfr / react-bootstrap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from react-bootstrap/react-bootstrap

18.0 14.0 3.0 4.73 MB

Bootstrap 3 components built with React

Home Page: http://react-bootstrap.github.io/

License: MIT License

JavaScript 100.00%

react-bootstrap's Introduction

react-bootstrap

Bootstrap 3 components built with React.

Travis Build Status Build status Coverage Status
Discord Thinkful
NPM version Bower version
Dependency Status devDependency Status peerDependency Status

Under active development - APIs will change. Check out the 1.0.0 Roadmap and Contributing Guidelines to see where you can help out. Prior to the 1.0.0 release, deprecations or breaking changes should result in a Minor version bump.

Docs

See the documentation with live editable examples.

Related modules

Local Setup

  • Install the dependencies with npm install
  • Run tests npm test
  • Run tests in watch mode npm run test-watch
  • Run the docs site in development mode with npm run docs. This will watch for file changes as you work. Simply refresh the page to see the updates.
  • Build with npm run build

Contributions

Yes please! See the contributing guidelines for details.

react-bootstrap's People

Contributors

aabenoja avatar aforty avatar alexkval avatar alphashuro avatar apkiernan avatar brainary avatar cassus avatar cmrnh avatar cymen avatar dmatteo avatar dozoisch avatar egauci avatar jquense avatar julien-f avatar kellec avatar lo1tuma avatar martijnvermaat avatar mathieumg avatar mdziekon avatar mtscout6 avatar pieterv avatar richardlitt avatar smbecker avatar stefanfisk avatar stereosteve avatar stevoland avatar taion avatar teloo avatar thetimbanks avatar trentgrover-wf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-bootstrap's Issues

Dropdowns don't drop down

I'm getting a button, but nothing happens on click. This is, incidentally, the same behavior I get with the main react-bootstrap package. Minimal example below. My environment is Bootstrap 4.0.0-alpha6/Django/webpack/OS X/Chrome.


import React from 'react';
import ReactDOM from 'react-dom';
import { DropdownButton, MenuItem } from 'react-bootstrap-4';
require('bootstrap/dist/css/bootstrap.css');

export default class ModuleMenu extends React.Component {

  render() {
    return (
    <DropdownButton title="Dropdown">
      <MenuItem href="#books">Books</MenuItem>
      <MenuItem href="#podcasts">Podcasts</MenuItem>
      <MenuItem href="#">Tech I Like</MenuItem>
      <MenuItem href="#">About me</MenuItem>
      <MenuItem href="#addBlog">Add a Blog</MenuItem>
    </DropdownButton>
    );
  }
}


ReactDOM.render(
  React.createElement(ModuleMenu, null),
  document.getElementById('root')
);

Classnames are changed and CSS doesn't apply

Some elements in react-bootstrap-4 have been given classnames different the original Bootstrap ones, and the changes don't reflect the css. For example, .popover-top in the css should be applied to .popover.top, .popover-arrow should be applied to .arrow, etc.

I ended up copy/pasting the Bootstrap classes in my own css and changing the classnames.

Is this something overlooked, or am I doing it wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.