DefinitelyTyped/types/react-bootstrap
Collin Green 583149302e react-bootstrap: add restoreFocus prop to Modal (#38424)
The `restoreFocus` prop was added to react-bootstrap in this commit from
2017 that was first released in v0.30.8.

bd76a90d47
2019-09-24 13:14:05 -07:00
..
lib
test
index.d.ts
README.md
tsconfig.json
tslint.json

react-bootstrap

Intended compatibilty

This library is intended for releases of react-bootstrap prior to v1.0.0, e.g. v0.32.4.

The reason is that react-bootstrap v1.0.0 targets Bootstrap v4, and includes its own typings. react-bootstrap prior to v1.0.0 targets Bootstrap v3 and does not include any typings.

It does not make sense for everyone to upgrade to Bootstrap v4, therefore these typings are useful for everyone that wants to stay on Bootstrap v3 and react-bootstrap prior to v1.0.0.

The typings for v1.0.0 were merged in this pull request.