Update stories
This commit is contained in:
parent
3beb283ef6
commit
36501a7131
2 changed files with 51 additions and 4 deletions
|
@ -127604,8 +127604,21 @@ exports[`Storyshots Views / Webhooks / Webhook 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"
|
||||||
>
|
>
|
||||||
|
@ -128024,8 +128037,21 @@ exports[`Storyshots Views / Webhooks / Webhook 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"
|
||||||
>
|
>
|
||||||
|
@ -128393,8 +128419,21 @@ exports[`Storyshots Views / Webhooks / Webhook 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"
|
||||||
>
|
>
|
||||||
|
|
|
@ -6,7 +6,8 @@ import {
|
||||||
pageListProps,
|
pageListProps,
|
||||||
searchPageProps,
|
searchPageProps,
|
||||||
tabPageProps,
|
tabPageProps,
|
||||||
sortPageProps
|
sortPageProps,
|
||||||
|
filterPageProps
|
||||||
} from "@saleor/fixtures";
|
} from "@saleor/fixtures";
|
||||||
import Decorator from "@saleor/storybook/Decorator";
|
import Decorator from "@saleor/storybook/Decorator";
|
||||||
import { WebhookListUrlSortField } from "@saleor/webhooks/urls";
|
import { WebhookListUrlSortField } from "@saleor/webhooks/urls";
|
||||||
|
@ -19,6 +20,13 @@ const props: WebhooksListPageProps = {
|
||||||
...searchPageProps,
|
...searchPageProps,
|
||||||
...sortPageProps,
|
...sortPageProps,
|
||||||
...tabPageProps,
|
...tabPageProps,
|
||||||
|
...filterPageProps,
|
||||||
|
filterOpts: {
|
||||||
|
isActive: {
|
||||||
|
active: false,
|
||||||
|
value: true
|
||||||
|
}
|
||||||
|
},
|
||||||
onBack: () => undefined,
|
onBack: () => undefined,
|
||||||
onRemove: () => undefined,
|
onRemove: () => undefined,
|
||||||
sort: {
|
sort: {
|
||||||
|
|
Loading…
Reference in a new issue