Package Exports
- @arnat/styled-nav
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@arnat/styled-nav) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ARNAT - styled-nav
Modular approach to use bootstrap components for quick prototypes, as an entrypoint of the component library.
Usage
import { Nav, NavLink } from '@arnat/styled-nav';
const Navigation = props => (
<Nav мertical>
<NavLink href="#" active>
Active
</NavLink>
<NavLink href="#">Link</NavLink>
<NavLink href="#">Link</NavLink>
<NavLink href="#" disabled>
Disabled
</NavLink>
</Nav>
);Usage with react-router-dom.
import { Nav, NavLink } from '@arnat/styled-nav';
import { Link } from 'react-router-dom';
const MyNavWithReactRouterDom = props => (
<Nav vertical>
<Link to="#">
<NavLink tabs active>
Active
</NavLink>
</Link>
<Link to="#">
<NavLink tabs>Link</NavLink>
</Link>
<Link to="#">
<NavLink tabs>Link</NavLink>
</Link>
<Link to="#">
<NavLink tabs disabled>
Disabled
</NavLink>
</Link>
</Nav>
);Properties
Properties which can be added to the component to change the visual appearance.
collapseonly on Nav Type: booleanexpandSmonly on Nav Type: booleanexpandMdonly on Nav Type: booleanexpandLgonly on Nav Type: booleanexpandXlonly on Nav Type: booleanhiddenonly on Nav Type: booleanstartonly on Nav Type: stringcenteronly on Nav Type: stringendonly on Nav Type: stringverticalonly on Nav Type: stringjustifiedonly on Nav Type: stringfillonly on Nav Type: stringtabsonly on NavLink Type: stringpillsonly on NavLink Type: stringnoRadiusonly on NavLink Type: stringactiveonly on NavLink Type: stringdisabledonly on NavLink Type: stringitemonly on NavLink Type: string