Skip to content

Commit 8c57ef5

Browse files
authored
Fix with pinned filters IndexFilters example on website (#12759)
<!-- ☝️How to write a good PR title: - Prefix it with [ComponentName] (if applicable), for example: [Button] - Start with a verb, for example: Add, Delete, Improve, Fix… - Give as much context as necessary and as little as possible - Open it as a draft if it’s a work in progress --> ### WHY are these changes introduced? Fixes #0000 <!-- link to issue if one exists --> <!-- Context about the problem that’s being addressed. --> ### WHAT is this pull request doing? <!-- Summary of the changes committed. Before / after screenshots are appreciated for UI changes. Make sure to include alt text that describes the screenshot. Include a video if your changes include interactive content. If you include an animated gif showing your change, wrapping it in a details tag is recommended. Gifs usually autoplay, which can cause accessibility issues for people reviewing your PR: <details> <summary>Summary of your gif(s)</summary> <img src="..." alt="Description of what the gif shows"> </details> --> ### How to 🎩 🖥 [Local development instructions](https://github.com/Shopify/polaris/blob/main/README.md#install-dependencies-and-build-workspaces) 🗒 [General tophatting guidelines](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md) 📄 [Changelog guidelines](https://github.com/Shopify/polaris/blob/main/.github/CONTRIBUTING.md#changelog) ### 🎩 checklist - [ ] Tested a [snapshot](https://github.com/Shopify/polaris/blob/main/documentation/Releasing.md#-snapshot-releases) - [ ] Tested on [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing) - [ ] Tested on [multiple browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers) - [ ] Tested for [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md) - [ ] Updated the component's `README.md` with documentation changes - [ ] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide
1 parent af15611 commit 8c57ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

polaris.shopify.com/pages/examples/index-filters-with-pinned-filters.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function IndexFiltersWithPinnedFiltersExample() {
191191
allowMultiple
192192
/>
193193
),
194-
shortcut: true,
194+
pinned: true,
195195
},
196196
{
197197
key: 'taggedWith',
@@ -205,7 +205,7 @@ function IndexFiltersWithPinnedFiltersExample() {
205205
labelHidden
206206
/>
207207
),
208-
shortcut: true,
208+
pinned: true,
209209
},
210210
{
211211
key: 'moneySpent',

0 commit comments

Comments
 (0)