From 3dba3ee2bd0f590e4b1870a51843f60649bd27dc Mon Sep 17 00:00:00 2001 From: Pat Sissons Date: Sun, 13 Nov 2016 12:40:53 -0800 Subject: [PATCH 1/2] adding Navbar.Form --- react-bootstrap/index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/react-bootstrap/index.d.ts b/react-bootstrap/index.d.ts index 2ec9eed50d..c57a6214b4 100644 --- a/react-bootstrap/index.d.ts +++ b/react-bootstrap/index.d.ts @@ -535,6 +535,14 @@ declare namespace ReactBootstrap { type NavbarText = React.ClassicComponent; const NavbarText: React.ClassicComponentClass; + // + interface NavbarFormProps extends React.HTMLProps { + componentClass?: React.ReactType; + pullRight?: boolean; + } + type NavbarForm = React.ClassicComponent; + const NavbarForm: React.ClassicComponentClass; + // interface NavbarProps extends React.HTMLProps { brand?: any; // TODO: Add more specific type @@ -560,6 +568,7 @@ declare namespace ReactBootstrap { Toggle: typeof NavbarToggle; Link: typeof NavbarLink; Text: typeof NavbarText; + Form: typeof NavbarForm; } type Navbar = React.ClassicComponent; var Navbar: NavbarClass; From eafc7fc5ffe1e90c219851a7879147a9eca8258a Mon Sep 17 00:00:00 2001 From: Pat Sissons Date: Sun, 13 Nov 2016 12:45:40 -0800 Subject: [PATCH 2/2] adding Navbar.Form test --- react-bootstrap/react-bootstrap-tests.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/react-bootstrap/react-bootstrap-tests.tsx b/react-bootstrap/react-bootstrap-tests.tsx index 65ecbca247..f505f08e92 100644 --- a/react-bootstrap/react-bootstrap-tests.tsx +++ b/react-bootstrap/react-bootstrap-tests.tsx @@ -522,6 +522,13 @@ export class ReactBootstrapTest extends Component { Signed in as: Mark Otto + + + + + {' '} + + Have a great day!