Type checking for react-bootstrap