mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-31 02:26:50 +10:00
update snapshots
This commit is contained in:
parent
b2b187a316
commit
d0ee02891b
3 changed files with 123 additions and 90 deletions
|
|
@ -2,7 +2,7 @@ exports[`Modal no extra classes when window is missing 1`] = `
|
|||
<div
|
||||
className="test-class-from-props">
|
||||
<div
|
||||
className={undefined}>
|
||||
className="">
|
||||
Content
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ exports[`ModalInMobile no extra classes when window is missing 1`] = `
|
|||
<div
|
||||
className="test-class-from-props">
|
||||
<div
|
||||
className={undefined}>
|
||||
className="">
|
||||
Content
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -62,108 +62,141 @@ exports[`ListingPage matches snapshot 1`] = `
|
|||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<Avatar
|
||||
className={null}
|
||||
firstName="user-1 first name"
|
||||
lastName="user-1 last name"
|
||||
rootClassName={null} />
|
||||
</div>
|
||||
<div>
|
||||
<h1>
|
||||
listing1 title
|
||||
</h1>
|
||||
<div>
|
||||
<span>
|
||||
<FormattedMessage
|
||||
id="ListingPage.hostedBy"
|
||||
values={
|
||||
Object {
|
||||
"name": "user-1 first name",
|
||||
}
|
||||
} />
|
||||
</span>
|
||||
<Avatar
|
||||
className={null}
|
||||
firstName="user-1 first name"
|
||||
lastName="user-1 last name"
|
||||
rootClassName={null} />
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h3>
|
||||
<FormattedMessage
|
||||
id="ListingPage.descriptionTitle"
|
||||
values={Object {}} />
|
||||
</h3>
|
||||
<p>
|
||||
listing1 description
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h3>
|
||||
<FormattedMessage
|
||||
id="ListingPage.locationTitle"
|
||||
values={Object {}} />
|
||||
</h3>
|
||||
<div>
|
||||
<Map
|
||||
address="listing1 address"
|
||||
center={
|
||||
LatLng {
|
||||
"lat": 40,
|
||||
"lng": 60,
|
||||
}
|
||||
}
|
||||
className=""
|
||||
rootClassName={null}
|
||||
zoom={11} />
|
||||
</div>
|
||||
</div>
|
||||
<ModalInMobile
|
||||
className=""
|
||||
id="BookingDatesFormInModal"
|
||||
isModalOpenOnMobile={false}
|
||||
onClose={[Function]}
|
||||
onManageDisableScrolling={[Function]}
|
||||
showAsModalMaxWidth={2500}>
|
||||
<div>
|
||||
<h1>
|
||||
listing1 title
|
||||
</h1>
|
||||
<div>
|
||||
<span>
|
||||
<div>
|
||||
<div
|
||||
title={55}>
|
||||
55
|
||||
</div>
|
||||
<div>
|
||||
<FormattedMessage
|
||||
id="ListingPage.perNight"
|
||||
values={Object {}} />
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h1>
|
||||
listing1 title
|
||||
</h1>
|
||||
<div>
|
||||
<span>
|
||||
<FormattedMessage
|
||||
id="ListingPage.hostedBy"
|
||||
values={
|
||||
Object {
|
||||
"name": "user-1 first name",
|
||||
}
|
||||
} />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h3>
|
||||
<FormattedMessage
|
||||
id="ListingPage.hostedBy"
|
||||
id="ListingPage.descriptionTitle"
|
||||
values={Object {}} />
|
||||
</h3>
|
||||
<p>
|
||||
listing1 description
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h3>
|
||||
<FormattedMessage
|
||||
id="ListingPage.locationTitle"
|
||||
values={Object {}} />
|
||||
</h3>
|
||||
<div>
|
||||
<Map
|
||||
address="listing1 address"
|
||||
center={
|
||||
LatLng {
|
||||
"lat": 40,
|
||||
"lng": 60,
|
||||
}
|
||||
}
|
||||
className=""
|
||||
rootClassName={null}
|
||||
zoom={11} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ModalInMobile
|
||||
className=""
|
||||
id="BookingDatesFormInModal"
|
||||
isModalOpenOnMobile={false}
|
||||
onClose={[Function]}
|
||||
onManageDisableScrolling={[Function]}
|
||||
showAsModalMaxWidth={767}>
|
||||
<div>
|
||||
<h1>
|
||||
listing1 title
|
||||
</h1>
|
||||
<div>
|
||||
<span>
|
||||
<FormattedMessage
|
||||
id="ListingPage.hostedBy"
|
||||
values={
|
||||
Object {
|
||||
"name": "user-1 first name",
|
||||
}
|
||||
} />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h3>
|
||||
<FormattedMessage
|
||||
id="ListingPage.bookingTitle"
|
||||
values={
|
||||
Object {
|
||||
"name": "user-1 first name",
|
||||
"title": "listing1 title",
|
||||
}
|
||||
} />
|
||||
</span>
|
||||
</h3>
|
||||
<div>
|
||||
<FormattedMessage
|
||||
id="ListingPage.bookingHelp"
|
||||
values={Object {}} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<BookingDatesForm
|
||||
onSubmit={[Function]}
|
||||
price={
|
||||
Money {
|
||||
"amount": 5500,
|
||||
"currency": "USD",
|
||||
}
|
||||
} />
|
||||
</ModalInMobile>
|
||||
<div>
|
||||
<BookingDatesForm
|
||||
onSubmit={[Function]}
|
||||
price={
|
||||
Money {
|
||||
"amount": 5500,
|
||||
"currency": "USD",
|
||||
}
|
||||
} />
|
||||
</ModalInMobile>
|
||||
<div>
|
||||
<div
|
||||
title={55}>
|
||||
55
|
||||
</div>
|
||||
<div>
|
||||
<FormattedMessage
|
||||
id="ListingPage.perNight"
|
||||
values={Object {}} />
|
||||
<div
|
||||
title={55}>
|
||||
55
|
||||
</div>
|
||||
<div>
|
||||
<FormattedMessage
|
||||
id="ListingPage.perNight"
|
||||
values={Object {}} />
|
||||
</div>
|
||||
</div>
|
||||
<Button
|
||||
className={null}
|
||||
onClick={[Function]}
|
||||
rootClassName={null}>
|
||||
ListingPage.ctaButtonMessage
|
||||
</Button>
|
||||
</div>
|
||||
<Button
|
||||
className={null}
|
||||
onClick={[Function]}
|
||||
rootClassName={null}>
|
||||
ListingPage.ctaButtonMessage
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</withRouter(PageLayout)>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue