99.10.0 • Published 4 years ago
@temporg/ui-navigation v99.10.0
category: packages
ui-navigation
Main and application level navigational components.
Components
The ui-navigation
package contains the following:
Installation
yarn add @temporg/ui-navigation
Usage
import React from 'react'
import { Navigation } from '@temporg/ui-navigation'
import { Avatar } from '@temporg/ui-avatar'
const MyNavigation = () => {
return (
<Navigation label="My Navigation">
<Navigation.Item
icon={<Avatar name="Joel Andrews" size="x-small" />}
label="My Account"
href="http://example.com"
/>
</Navigation>
)
}
For detailed usage and documentation, see individual component examples.