From 35b25843bc100dff05146f5e99ca3cb10da105bc Mon Sep 17 00:00:00 2001 From: Calvin To Date: Tue, 29 Sep 2020 12:05:57 -0400 Subject: [PATCH] Typo fix --- components/navs/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/navs/index.html b/components/navs/index.html index 9971c6c8..d17cc8ce 100644 --- a/components/navs/index.html +++ b/components/navs/index.html @@ -428,8 +428,8 @@ be set to "tablist", but can be overridden by the Nav when set explicitly.

When the role is "tablist", NavLink focus is managed according to the ARIA authoring practices for tabs: -https://www.w3.org/TR/2013/WD-wai-aria-practices-20130307/#tabpanel

variant
'tabs' | 'pills'

The visual variant of the nav items.

bsPrefix
string
'nav'

Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.

import Nav from 'react-bootstrap/Nav'Copy import code for the Nav component
NameTypeDefaultDescription
as
elementType
<div>

You can use a custom element type for this component.

role
string

The ARIA role of the component

bsPrefix
string
'nav-item'

Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.

import Nav from 'react-bootstrap/Nav'Copy import code for the Nav component
NameTypeDefaultDescription
active
boolean

The active state of the NavItem item.

as
elementType
<a>

You can use a custom element type for this component.

disabled
boolean
false

The disabled state of the NavItem item.

eventKey
any

Uniquely idenifies the NavItem amongst its siblings, +https://www.w3.org/TR/2013/WD-wai-aria-practices-20130307/#tabpanel

variant
'tabs' | 'pills'

The visual variant of the nav items.

bsPrefix
string
'nav'

Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.

import Nav from 'react-bootstrap/Nav'Copy import code for the Nav component
NameTypeDefaultDescription
as
elementType
<div>

You can use a custom element type for this component.

role
string

The ARIA role of the component

bsPrefix
string
'nav-item'

Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.

import Nav from 'react-bootstrap/Nav'Copy import code for the Nav component
NameTypeDefaultDescription
active
boolean

The active state of the NavItem item.

as
elementType
<a>

You can use a custom element type for this component.

disabled
boolean
false

The disabled state of the NavItem item.

eventKey
any

Uniquely identifies the NavItem amongst its siblings, used to determine and control the active state of the parent Nav

href
string

The HTML href attribute for the NavLink

onSelect
function

A callback fired when the NavLink is selected.

function (eventKey: any, event: SyntheticEvent) {}
role
string

The ARIA role for the NavLink, In the context of a 'tablist' parent Nav, the role defaults to 'tab'

bsPrefix
string
'nav-link'

Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.

import NavDropdown from 'react-bootstrap/NavDropdown'Copy import code for the NavDropdown component
NameTypeDefaultDescription
active
boolean

Style the toggle NavLink as active

disabled
boolean

Disables the toggle NavLink

id required
string|number

An html id attribute for the Toggle button, necessary for assistive technologies, such as screen readers.

menuRole
string

An ARIA accessible role applied to the Menu component. When set to 'menu', The dropdown

onClick
function

An onClick handler passed to the Toggle component

renderMenuOnMount
boolean

Whether to render the dropdown menu in the DOM before the first time it is shown

rootCloseEvent
string

Which event when fired outside the component will cause it to be closed.

-

see DropdownMenu for more details

title required
node

The content of the non-toggle Button.

bsPrefix
string

Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.

\ No newline at end of file +

see DropdownMenu for more details

title required
node

The content of the non-toggle Button.

bsPrefix
string

Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css.