You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 3 година
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # React-Bootstrap
  2. > [Bootstrap 4][bootstrap] components built with [React][react].
  3. [![GitHub Actions CI status][gh-actions-badge]][gh-actions]
  4. [![Travis CI Build status][travis-badge]][travis]
  5. [![npm][npm-badge]][npm]
  6. [![Codecov][codecov-badge]][codecov]
  7. [![Discord][discord-badge]][discord]
  8. [![Netlify][netlify-badge]][netlify]
  9. ## Docs
  10. See the [documentation][documentation] with live editable examples and API documention.
  11. To find the documentation for the latest Bootstrap 3 compatible release, [go here](https://react-bootstrap-v3.netlify.com).
  12. ### Migrating from Bootstrap 3 to Bootstrap 4
  13. If you would like to update React-Bootstrap within an existing project to use Bootstrap 4, please read our docs for **[migrating to React-Bootstrap V1](https://react-bootstrap.github.io/migrating/)**.
  14. ## Related modules
  15. - [react-router-bootstrap][react-router-bootstrap] – Integration with [React Router][react-router]
  16. - [Awesome React Bootstrap Components][awesome-react-bootstrap-components] - Additional components like off-canvas navbar, switch and sliders.
  17. ## Local setup
  18. Yarn is our package manager of choice here. Check out setup
  19. instructions [here](https://yarnpkg.com/en/docs/install) if you don't have it installed already.
  20. After that you can run `yarn run bootstrap` to install all the needed dependencies.
  21. From there you can:
  22. - Run the tests once with `yarn test` (Or run them in watch mode with `yarn run tdd`).
  23. - Start a local copy of the docs site with `yarn start`
  24. - Or build a local copy of the library with `yarn run build`
  25. ## CodeSandbox Examples
  26. [Click here](https://github.com/react-bootstrap/code-sandbox-examples) to explore some React-Bootstrap [CodeSandbox](https://codesandbox.io/) examples.
  27. [Click here](https://codesandbox.io/s/github/react-bootstrap/code-sandbox-examples/tree/master/basic) to automatically open [CodeSandbox](https://codesandbox.io/) with the React-Bootstrap [CodeSandbox Examples GitHub Repository](https://github.com/react-bootstrap/code-sandbox-examples) as a workspace.
  28. ## Contributions
  29. Yes please! See the [contributing guidelines][contributing] for details.
  30. [bootstrap]: https://getbootstrap.com/
  31. [react]: https://reactjs.org/
  32. [documentation]: https://react-bootstrap.github.io/
  33. [contributing]: CONTRIBUTING.md
  34. [travis-badge]: https://travis-ci.org/react-bootstrap/react-bootstrap.svg?branch=master
  35. [travis]: https://travis-ci.org/react-bootstrap/react-bootstrap
  36. [npm-badge]: https://badge.fury.io/js/react-bootstrap.svg
  37. [npm]: http://badge.fury.io/js/react-bootstrap
  38. [react-router-bootstrap]: https://github.com/react-bootstrap/react-router-bootstrap
  39. [react-router]: https://github.com/reactjs/react-router
  40. [react-bootstrap-extended]: https://github.com/rbalicki2/react-bootstrap-extended
  41. [awesome-react-bootstrap-components]: https://github.com/Hermanya/awesome-react-bootstrap-components
  42. [codecov-badge]: https://img.shields.io/codecov/c/github/react-bootstrap/react-bootstrap/master.svg
  43. [codecov]: https://codecov.io/gh/react-bootstrap/react-bootstrap
  44. [discord-badge]: https://img.shields.io/badge/Discord-Join%20chat%20%E2%86%92-738bd7.svg
  45. [discord]: https://discord.gg/0ZcbPKXt5bXLs9XK
  46. [netlify-badge]: https://api.netlify.com/api/v1/badges/91501718-8820-4d69-b7fe-1616eff5914e/deploy-status
  47. [netlify]: https://app.netlify.com/sites/react-bootstrap/deploys
  48. [gh-actions-badge]: https://github.com/react-bootstrap/react-bootstrap/workflows/CI/badge.svg
  49. [gh-actions]: https://github.com/react-bootstrap/react-bootstrap/actions