19 lines
497 B
Plaintext
19 lines
497 B
Plaintext
const links = [
|
|
{ href: '#/components/navigation', icon: 'person', label: 'Profile' },
|
|
{ href: '#/components/navigation', icon: 'inbox', label: 'Inbox'}
|
|
];
|
|
|
|
const actions = [
|
|
{ label: 'Alarm', kind: 'raised', icon: 'access-alarm'},
|
|
{ label: 'Location', kind: 'raised', accent: true, icon: 'room'}
|
|
];
|
|
|
|
const NavigationTest = () => (
|
|
<div>
|
|
<Navigation type='horizontal' actions={actions} />
|
|
<Navigation type='horizontal' routes={links} />
|
|
</div>
|
|
);
|
|
|
|
return <NavigationTest />;
|