TopbarDesktop example didn't work on Styleguide - expects to be full width

This commit is contained in:
Vesa Luusua 2018-10-25 13:13:56 +03:00
parent 2b8bbfa7cf
commit e07f5cf4c8
2 changed files with 1 additions and 22 deletions

View file

@ -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',
};

View file

@ -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,
};