mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
26 lines
476 B
TypeScript
26 lines
476 B
TypeScript
import * as React from 'react';
|
|
import { Sidebar, Tab } from 'react-leaflet-sidebarv2';
|
|
|
|
const MySidebar = (
|
|
<Sidebar
|
|
id='sidebar'
|
|
collapsed={false}
|
|
selected={'home'}
|
|
closeIcon='fa'
|
|
position='right'>
|
|
<Tab
|
|
id='home'
|
|
header='Home'
|
|
icon='fa fa-home'>
|
|
No place like home!
|
|
</Tab>
|
|
<Tab
|
|
id='settings'
|
|
header='Settings'
|
|
icon='fa fa-cog'
|
|
anchor='bottom'>
|
|
In Settings.
|
|
</Tab>
|
|
</Sidebar>
|
|
);
|