Update stories
This commit is contained in:
parent
a4a9703abd
commit
c5b3e22ec5
2 changed files with 51 additions and 4 deletions
|
@ -6,7 +6,8 @@ import {
|
||||||
pageListProps,
|
pageListProps,
|
||||||
searchPageProps,
|
searchPageProps,
|
||||||
tabPageProps,
|
tabPageProps,
|
||||||
sortPageProps
|
sortPageProps,
|
||||||
|
filterPageProps
|
||||||
} from "@saleor/fixtures";
|
} from "@saleor/fixtures";
|
||||||
import ServiceListPage, {
|
import ServiceListPage, {
|
||||||
ServiceListPageProps
|
ServiceListPageProps
|
||||||
|
@ -21,6 +22,13 @@ const props: ServiceListPageProps = {
|
||||||
...searchPageProps,
|
...searchPageProps,
|
||||||
...sortPageProps,
|
...sortPageProps,
|
||||||
...tabPageProps,
|
...tabPageProps,
|
||||||
|
...filterPageProps,
|
||||||
|
filterOpts: {
|
||||||
|
isActive: {
|
||||||
|
active: false,
|
||||||
|
value: true
|
||||||
|
}
|
||||||
|
},
|
||||||
onBack: () => undefined,
|
onBack: () => undefined,
|
||||||
onRemove: () => undefined,
|
onRemove: () => undefined,
|
||||||
services: serviceList,
|
services: serviceList,
|
||||||
|
|
|
@ -111719,8 +111719,21 @@ exports[`Storyshots Views / Services / Service list default 1`] = `
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="SearchBar-root-id"
|
class="FilterBar-root-id"
|
||||||
>
|
>
|
||||||
|
<div>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Filter-filterButton-id Filter-addFilterButton-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiTypography-root-id Filter-addFilterText-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Filters
|
||||||
|
</div>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
class="MuiFormControl-root-id MuiTextField-root-id SearchInput-root-id"
|
class="MuiFormControl-root-id MuiTextField-root-id SearchInput-root-id"
|
||||||
>
|
>
|
||||||
|
@ -112198,8 +112211,21 @@ exports[`Storyshots Views / Services / Service list loading 1`] = `
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="SearchBar-root-id"
|
class="FilterBar-root-id"
|
||||||
>
|
>
|
||||||
|
<div>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Filter-filterButton-id Filter-addFilterButton-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiTypography-root-id Filter-addFilterText-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Filters
|
||||||
|
</div>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
class="MuiFormControl-root-id MuiTextField-root-id SearchInput-root-id"
|
class="MuiFormControl-root-id MuiTextField-root-id SearchInput-root-id"
|
||||||
>
|
>
|
||||||
|
@ -112550,8 +112576,21 @@ exports[`Storyshots Views / Services / Service list no data 1`] = `
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="SearchBar-root-id"
|
class="FilterBar-root-id"
|
||||||
>
|
>
|
||||||
|
<div>
|
||||||
|
<button
|
||||||
|
class="MuiButtonBase-root-id Filter-filterButton-id Filter-addFilterButton-id"
|
||||||
|
tabindex="0"
|
||||||
|
type="button"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="MuiTypography-root-id Filter-addFilterText-id MuiTypography-body1-id"
|
||||||
|
>
|
||||||
|
Filters
|
||||||
|
</div>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
class="MuiFormControl-root-id MuiTextField-root-id SearchInput-root-id"
|
class="MuiFormControl-root-id MuiTextField-root-id SearchInput-root-id"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue