mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 20:53:24 +10:00
TopbarDesktop example didn't work on Styleguide - expects to be full width
This commit is contained in:
parent
2b8bbfa7cf
commit
e07f5cf4c8
2 changed files with 1 additions and 22 deletions
|
|
@ -1,20 +0,0 @@
|
|||
/* eslint-disable no-console */
|
||||
import { fakeIntl } from '../../util/test-data';
|
||||
import TopbarDesktop from './TopbarDesktop';
|
||||
|
||||
const noop = () => null;
|
||||
|
||||
export const AuthenticatedDesktopTopbar = {
|
||||
component: TopbarDesktop,
|
||||
props: {
|
||||
isAuthenticated: true,
|
||||
currentUserHasListings: true,
|
||||
name: 'John Doe',
|
||||
onSearchSubmit: values => {
|
||||
console.log('submit search:', values);
|
||||
},
|
||||
intl: fakeIntl,
|
||||
onLogout: noop,
|
||||
},
|
||||
group: 'navigation',
|
||||
};
|
||||
|
|
@ -54,7 +54,6 @@ import * as StripeBankAccountTokenInputField from './components/StripeBankAccoun
|
|||
import * as TabNav from './components/TabNav/TabNav.example';
|
||||
import * as TabNavHorizontal from './components/TabNavHorizontal/TabNavHorizontal.example';
|
||||
import * as Tabs from './components/Tabs/Tabs.example';
|
||||
import * as TopbarDesktop from './components/TopbarDesktop/TopbarDesktop.example';
|
||||
import * as UserCard from './components/UserCard/UserCard.example';
|
||||
|
||||
// forms
|
||||
|
|
@ -140,6 +139,7 @@ export {
|
|||
PasswordResetForm,
|
||||
PayoutDetailsForm,
|
||||
PropertyGroup,
|
||||
RangeSlider,
|
||||
ResponsiveImage,
|
||||
ReviewForm,
|
||||
ReviewRating,
|
||||
|
|
@ -154,7 +154,6 @@ export {
|
|||
TabNav,
|
||||
TabNavHorizontal,
|
||||
Tabs,
|
||||
TopbarDesktop,
|
||||
Typography,
|
||||
UserCard,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue