mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Modified tests - still seeing 'not a constructor' error
This commit is contained in:
@@ -1,14 +1,25 @@
|
||||
import * as React from 'react';
|
||||
import {Sidebar, Tab} from 'react-leaflet-sidebarv2';
|
||||
|
||||
export const MetroSidebar = () => {
|
||||
return (
|
||||
<Sidebar id='sidebar' collapsed={false} selected={'home'} closeIcon='fa' position='right'>
|
||||
<Tab id='home' header='Home' icon='fa fa-home'>
|
||||
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'>
|
||||
<Tab
|
||||
id='settings'
|
||||
header='Settings'
|
||||
icon='fa fa-cog'
|
||||
anchor='bottom'>
|
||||
In Settings.
|
||||
</Tab>
|
||||
</Sidebar>);
|
||||
}
|
||||
</Sidebar>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user