index
int64
0
0
repo_id
stringlengths
16
181
file_path
stringlengths
28
270
content
stringlengths
1
11.6M
__index_level_0__
int64
0
10k
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-filters-disabled.tsx
import { TextField, IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, useIndexResourceState, Text, ChoiceList, RangeSlider, Badge, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolari...
900
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-filters-with-edit-colums-button.tsx
import { TextField, IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, useIndexResourceState, Text, ChoiceList, RangeSlider, Badge, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolari...
901
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-filters-with-filtering-mode.tsx
import { TextField, IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, IndexFiltersMode, useIndexResourceState, Text, ChoiceList, RangeSlider, Badge, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState, useCallback} from 'react'...
902
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-filters-with-no-filters.tsx
import { IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, useIndexResourceState, Text, Badge, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/Polar...
903
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/layout-annotated.tsx
import { Page, Layout, LegacyCard, FormLayout, TextField, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LayoutExample() { return ( <Page fullWidth> <Layout> <Layout.AnnotatedSection i...
904
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-filters-with-no-search-or-filters.tsx
import { IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, useIndexResourceState, Text, Badge, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrap...
905
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-filters-with-no-search.tsx
import { TextField, IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, useIndexResourceState, Text, ChoiceList, RangeSlider, Badge, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolari...
906
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-filters-with-pinned-filters.tsx
import { TextField, IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, useIndexResourceState, Text, ChoiceList, RangeSlider, Badge, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolari...
907
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-condensed-with-views-search-filter-sorting.tsx
import { TextField, IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, useIndexResourceState, Text, ChoiceList, RangeSlider, Badge, BlockStack, InlineStack, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState, useCallback} fro...
908
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-default.tsx
import { IndexTable, LegacyCard, useIndexResourceState, Text, Badge, useBreakpoints, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function SimpleIndexTableExample() { const orders = [ { id: '1020', ord...
909
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-small-screen.tsx
import { IndexTable, LegacyCard, useIndexResourceState, Text, InlineStack, Badge, BlockStack, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function SimpleSmallScreenIndexTableExample() { const orders = [ { ...
910
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-bulk-actions-and-selection-across-pages.tsx
import { IndexTable, LegacyCard, useIndexResourceState, Text, Badge, useBreakpoints, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function IndexTableWithBulkActionsAndSelectionAcrossPagesExample() { const orders = [ ...
911
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-bulk-actions.tsx
import { IndexTable, LegacyCard, useIndexResourceState, Text, Badge, useBreakpoints, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function IndexTableWithBulkActionsExample() { const orders = [ { id: '1020', ...
912
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-disabled-rows.tsx
import { IndexTable, LegacyCard, useIndexResourceState, Text, Badge, useBreakpoints, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function IndexTableWithDisabledRowsExample() { const orders = [ { id: '1020',...
913
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-empty-state.tsx
import { EmptySearchResult, IndexTable, LegacyCard, Text, useBreakpoints, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function IndexTableWithCustomEmptyStateExample() { const customers: { id: string; name: stri...
914
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-filtering.tsx
import { TextField, IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, useIndexResourceState, Text, ChoiceList, RangeSlider, Badge, IndexFiltersMode, useBreakpoints, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState, useCall...
915
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-loading-state.tsx
import { TextField, IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, useIndexResourceState, Text, ChoiceList, RangeSlider, Badge, useBreakpoints, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState, useCallback} from 'react'; ...
916
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-multiple-promoted-bulk-actions.tsx
import { IndexTable, LegacyCard, useIndexResourceState, Text, Badge, useBreakpoints, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function IndexTableWithMultiplePromotedBulkActionsExample() { const orders = [ { ...
917
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-nested-rows.tsx
import { LegacyCard, Text, useIndexResourceState, IndexTable, useBreakpoints, } from '@shopify/polaris'; import type {IndexTableRowProps, IndexTableProps} from '@shopify/polaris'; import React, {Fragment} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; export func...
918
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-pagination.tsx
import { IndexTable, LegacyCard, useIndexResourceState, Text, Badge, useBreakpoints, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function IndexTableWithPaginationExample() { const orders = [ { id: '1020', ...
919
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-row-navigation-link.tsx
import { IndexTable, LegacyCard, Link, useIndexResourceState, Text, useBreakpoints, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ClickThroughLinkIndexTableExample() { const customers = [ { id: '3411...
920
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-sticky-last-column.tsx
import { IndexTable, LegacyCard, useIndexResourceState, Text, Badge, useBreakpoints, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function StickyLastCellIndexTableExample() { const orders = [ { id: '1020', ...
921
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-subheaders.tsx
import { LegacyCard, Text, useIndexResourceState, IndexTable, useBreakpoints, } from '@shopify/polaris'; import type {IndexTableRowProps, IndexTableProps} from '@shopify/polaris'; import React, {Fragment} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; export func...
922
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-with-views-search-filter-sorting.tsx
import { TextField, IndexTable, LegacyCard, IndexFilters, useSetIndexFiltersMode, useIndexResourceState, Text, ChoiceList, RangeSlider, Badge, useBreakpoints, } from '@shopify/polaris'; import type {IndexFiltersProps, TabProps} from '@shopify/polaris'; import {useState, useCallback} from 'react'; ...
923
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/index-table-without-checkboxes.tsx
import { IndexTable, LegacyCard, Text, Badge, useBreakpoints, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function IndexTableWithoutCheckboxesExample() { const orders = [ { id: '1020', order: '#1020', ...
924
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/inline-error-default.tsx
import {InlineError} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function InlineErrorExample() { return <InlineError message="Store name is required" fieldID="myFieldID" />; } export default withPolarisExample(InlineErrorExample)...
925
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/inline-grid-with-fixed-widths.tsx
import React from 'react'; import {InlineGrid, Text, InlineStack} from '@shopify/polaris'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function InlineGridWithFreeAndFixedWidthsExample() { return ( <InlineGrid columns={['oneThird', 'twoThirds']}> <Placeholder height="320p...
926
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/inline-grid-with-set-number.tsx
import React from 'react'; import {InlineGrid} from '@shopify/polaris'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function InlineGridWithSetNumberExample() { return ( <InlineGrid columns={2}> <Placeholder height="320px" /> <Placeholder height="320px" showBorder /...
927
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/inline-grid-with-varying-gap.tsx
import React from 'react'; import {InlineGrid} from '@shopify/polaris'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function InlineGridWithVaryingGapExample() { return ( <SpacingBackground> <InlineGrid gap="400" columns={3}> <Placeholder height="320px" /> ...
928
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/inline-stack-with-align.tsx
import React from 'react'; import {BlockStack, InlineStack, Text, Page, Divider} from '@shopify/polaris'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function InlineWithAlignExample() { return ( <Page narrowWidth> <BlockStack gap="1600"> <InlineStack align="start...
929
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/inline-stack-with-block-align.tsx
import React from 'react'; import {InlineStack, Text, BlockStack, Divider} from '@shopify/polaris'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function InlineWithBlockAlignExample() { return ( <BlockStack gap="800"> <InlineStack blockAlign="start"> <Placeholder ...
930
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/inline-stack-with-gap.tsx
import React from 'react'; import {InlineStack, BlockStack} from '@shopify/polaris'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function InlineWithGapExample() { return ( <BlockStack> <InlineStack> <SpacingBackground width="436px" height="20px" margin> ...
931
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/inline-stack-with-non-wrapping.tsx
import React from 'react'; import {InlineStack} from '@shopify/polaris'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function InlineWithNonWrappingExample() { return ( <InlineStack wrap={false}> <Placeholder width="106px" height="36px" /> <Placeholder width="106px"...
932
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/keyboard-key-default.tsx
import {Card, KeyboardKey} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function Example() { return ( <Card> <KeyboardKey>Ctrl</KeyboardKey> </Card> ); } export default withPolarisExample(Example);
933
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/keyboard-key-list-of-shortcuts.tsx
import {KeyboardKey} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function Example() { return <KeyboardKey>Ctrl</KeyboardKey>; } export default withPolarisExample(Example);
934
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/layout-annotated-with-banner-at-the-top.tsx
import { Page, Layout, Banner, LegacyCard, FormLayout, TextField, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LayoutExample() { return ( <Page fullWidth> <Layout> <Layout.Section> ...
935
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/layout-annotated-with-sections.tsx
import { Page, Layout, LegacyCard, FormLayout, TextField, TextContainer, Text, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LayoutExample() { return ( <Page fullWidth> <Layout> <Layout.Sec...
936
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/layout-one-column.tsx
import {Page, Layout, LegacyCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LayoutExample() { return ( <Page fullWidth> <Layout> <Layout.Section> <LegacyCard title="Online store dashboard" se...
937
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/layout-three-columns-with-equal-width.tsx
import { Page, Layout, LegacyCard, ResourceList, Thumbnail, Text, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LayoutExample() { return ( <Page fullWidth> <Layout> <Layout.Section variant="o...
938
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/layout-two-columns-with-equal-width.tsx
import { Page, Layout, LegacyCard, ResourceList, Thumbnail, Text, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LayoutExample() { return ( <Page fullWidth> <Layout> <Layout.Section variant="o...
939
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/layout-two-columns-with-primary-and-secondary-widths.tsx
import {Page, Layout, LegacyCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LayoutExample() { return ( <Page fullWidth> <Layout> <Layout.Section> <LegacyCard title="Order details" sectioned> ...
940
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-default.tsx
import {LegacyCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Online store dashboard" sectioned> <p>View a summary of your online store’s performance.</p> ...
941
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-a-subdued-section.tsx
import {LegacyCard, List} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Staff accounts"> <LegacyCard.Section> <List> <List.Item>Felix Crafford</L...
942
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-all-elements.tsx
import { LegacyCard, Popover, Button, ActionList, TextContainer, ResourceList, LegacyStack, List, } from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard secondar...
943
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-custom-footer-actions.tsx
import {LegacyCard, LegacyStack, ButtonGroup, Button} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Secure your account with 2-step authentication"> <LegacyCard.Se...
944
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-custom-react-node-title.tsx
import {LegacyCard, LegacyStack, Icon, List, Text} from '@shopify/polaris'; import {ProductsMajor} from '@shopify/polaris-icons'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Products"> <...
945
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-destructive-action.tsx
import {LegacyCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Customer"> <LegacyCard.Section> <p>John Smith</p> </LegacyCard.Section> <Lega...
946
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-destructive-footer-action.tsx
import {LegacyCard, List} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Shipment 1234" secondaryFooterActions={[{content: 'Cancel shipment', destructive: tru...
947
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-flushed-sections.tsx
import {LegacyCard, Image, TextContainer} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard> <LegacyCard.Section flush> <Image source="https://burst.shopify...
948
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-footer-actions.tsx
import {LegacyCard, List} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Shipment 1234" secondaryFooterActions={[{content: 'Edit shipment'}]} primaryFoo...
949
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-header-actions.tsx
import {LegacyCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard sectioned title="Variants" actions={[{content: 'Add variant'}]}> <p> Add variants if this produc...
950
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-multiple-footer-actions.tsx
import {LegacyCard, List} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Shipment 1234" secondaryFooterActions={[ {content: 'Cancel shipment', destruc...
951
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-multiple-sections.tsx
import {LegacyCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Online store dashboard"> <LegacyCard.Section> <p>View a summary of your online store’s pe...
952
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-multiple-titled-sections.tsx
import {LegacyCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Online store dashboard"> <LegacyCard.Section title="Reports"> <p>View a summary of your o...
953
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-sections-and-actions.tsx
import {LegacyCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Customer"> <LegacyCard.Section> <p>John Smith</p> </LegacyCard.Section> <Lega...
954
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-separate-header.tsx
import {LegacyCard, Popover, Button, ActionList, List} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard> <LegacyCard.Header actions={[ { conten...
955
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-subdued-for-secondary-content.tsx
import {LegacyCard, List} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Deactivated staff accounts" sectioned subdued> <List> <List.Item>Felix Crafford</Li...
956
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-card-with-subsection.tsx
import {LegacyCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyCardExample() { return ( <LegacyCard title="Customer"> <LegacyCard.Section> <p>John Smith</p> </LegacyCard.Section> <Lega...
957
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-filters-disabled.tsx
import { TextField, LegacyCard, ResourceList, LegacyFilters, Button, Avatar, Text, } from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function DisableAllFiltersExample() { const [taggedWith, setTaggedWit...
958
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-filters-some-disabled.tsx
import { TextField, LegacyCard, ResourceList, LegacyFilters, Button, Avatar, Text, } from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function DisableSomeFiltersExample() { const [taggedWith, setTaggedWi...
959
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-filters-with-a-data-table.tsx
import { ChoiceList, TextField, LegacyCard, LegacyFilters, DataTable, } from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function DataTableFiltersExample() { const [availability, setAvailability] = useState<...
960
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-filters-with-a-resource-list.tsx
import { ChoiceList, TextField, RangeSlider, LegacyCard, ResourceList, LegacyFilters, Avatar, Text, } from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ResourceListFiltersExample() { const [acc...
961
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-filters-with-children-content.tsx
import { TextField, LegacyCard, ResourceList, LegacyFilters, Button, Avatar, Text, } from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function FiltersExample() { const [taggedWith, setTaggedWith] = useSt...
962
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-filters-with-help-text.tsx
import { ChoiceList, TextField, RangeSlider, LegacyCard, ResourceList, LegacyFilters, Avatar, Text, } from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ResourceListFiltersExample() { const [acc...
963
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-filters-with-query-field-disabled.tsx
import { ChoiceList, TextField, RangeSlider, LegacyCard, ResourceList, LegacyFilters, Avatar, Text, } from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ResourceListFiltersExample() { const [acc...
964
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-filters-with-query-field-hidden.tsx
import { ChoiceList, TextField, RangeSlider, LegacyCard, ResourceList, LegacyFilters, Avatar, Text, } from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ResourceListFiltersExample() { const [acc...
965
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-filters-without-clear-button.tsx
import { TextField, LegacyCard, ResourceList, LegacyFilters, Button, Avatar, Text, } from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function Playground() { const [taggedWith, setTaggedWith] = useState<...
966
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-stack-default.tsx
import {LegacyStack, Badge} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyStackExample() { return ( <LegacyStack> <Badge>Paid</Badge> <Badge>Processing</Badge> <Badge>Fulfilled</Badge> <Bad...
967
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-stack-fill-available-space-proportionally.tsx
import {LegacyStack, Badge, Text} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyStackExample() { return ( <LegacyStack distribution="fill"> <Text variant="headingMd" as="h2"> Order #1136 </Text...
968
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-stack-non-wrapping.tsx
import {LegacyStack, Badge} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyStackExample() { return ( <LegacyStack wrap={false}> <Badge>Paid</Badge> <Badge>Processing</Badge> <Badge>Fulfilled</Badg...
969
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-stack-spacing.tsx
import {LegacyStack, Badge} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyStackExample() { return ( <LegacyStack spacing="loose"> <Badge>Paid</Badge> <Badge>Fulfilled</Badge> </LegacyStack> ); } ...
970
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-stack-vertical-centering.tsx
import {LegacyStack, Badge, Text} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyStackExample() { return ( <LegacyStack alignment="center"> <Text variant="headingMd" as="h2"> Order <br /> ...
971
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-stack-where-a-single-item-fills-the-remaining-space.tsx
import {LegacyStack, Badge, Text} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyStackExample() { return ( <LegacyStack> <LegacyStack.Item fill> <Text variant="headingMd" as="h2"> Order #113...
972
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-stack-where-items-fill-space-evenly.tsx
import {LegacyStack, Badge, Text} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LegacyStackExample() { return ( <LegacyStack distribution="fillEvenly"> <Text variant="headingMd" as="h2"> Order #1136 ...
973
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-tabs-default.tsx
import {LegacyCard, LegacyTabs} from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function TabsExample() { const [selected, setSelected] = useState(0); const handleTabChange = useCallback( (selectedTabIndex: num...
974
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-tabs-fitted.tsx
import {LegacyCard, LegacyTabs} from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function FittedTabsExample() { const [selected, setSelected] = useState(0); const handleTabChange = useCallback( (selectedTabInde...
975
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-tabs-with-badge-content.tsx
import {Badge, LegacyCard, LegacyTabs} from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function TabsWithBadgeExample() { const [selected, setSelected] = useState(0); const handleTabChange = useCallback( (selec...
976
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/legacy-tabs-with-custom-disclosure.tsx
import {LegacyCard, LegacyTabs} from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function TabsWithCustomDisclosureExample() { const [selected, setSelected] = useState(0); const handleTabChange = useCallback( (s...
977
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/link-default.tsx
import {Link} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LinkExample() { return <Link url="https://help.shopify.com/manual">fulfilling orders</Link>; } export default withPolarisExample(LinkExample);
978
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/link-external.tsx
import {Link} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LinkExample() { return ( <Link url="https://help.shopify.com/manual" external> Shopify Help Center </Link> ); } export default withPolarisExample(...
979
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/link-monochrome-in-a-banner.tsx
import {Banner, Link} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LinkExample() { return ( <Banner> Learn more about{' '} <Link url="https://help.shopify.com/manual">fulfilling orders</Link> </Banner> ...
980
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/link-monochrome.tsx
import {Link} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LinkExample() { return ( <Link monochrome url="https://help.shopify.com/manual"> fulfilling orders </Link> ); } export default withPolarisExample(...
981
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/list-bulleted.tsx
import {List} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ListExample() { return ( <List type="bullet"> <List.Item>Yellow shirt</List.Item> <List.Item>Red shirt</List.Item> <List.Item>Green shirt</Li...
982
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/list-extra-tight.tsx
import {List} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ListExtraTightExample() { return ( <List gap="extraTight"> <List.Item>Yellow shirt</List.Item> <List.Item>Red shirt</List.Item> <List.Item>Gr...
983
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/list-numbered.tsx
import {List} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ListExample() { return ( <List type="number"> <List.Item>First item</List.Item> <List.Item>Second item</List.Item> <List.Item>Third Item</Lis...
984
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/listbox-default.tsx
import {Listbox} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function BaseListboxExample() { return ( <Listbox accessibilityLabel="Basic Listbox example"> <Listbox.Option value="UniqueValue-1">Item 1</Listbox.Option> ...
985
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/listbox-with-action.tsx
import {Listbox, LegacyStack, Icon} from '@shopify/polaris'; import {CirclePlusMinor} from '@shopify/polaris-icons'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ListboxWithActionExample() { return ( <Listbox accessibilityLabel="Listbox with A...
986
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/listbox-with-custom-element.tsx
import {Listbox} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ListboxWithCustomElementExample() { return ( <Listbox accessibilityLabel="Listbox with custom element example"> <Listbox.Action value="ActionValue" di...
987
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/listbox-with-loading.tsx
import {Listbox} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ListboxWithLoadingExample() { return ( <Listbox> <Listbox.Option value="UniqueValue-1">Item 1</Listbox.Option> <Listbox.Option value="UniqueValu...
988
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/listbox-with-search.tsx
import React, {useState} from 'react'; import { Icon, LegacyCard, TextField, Listbox, AutoSelection, Scrollable, EmptySearchResult, } from '@shopify/polaris'; import {SearchMinor} from '@shopify/polaris-icons'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; const actionVa...
989
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/loading-default.tsx
import {Frame, Loading} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LoadingExample() { return ( <div style={{height: '100px'}}> <Frame> <Loading /> </Frame> </div> ); } export default withPo...
990
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/media-card-default.tsx
import {MediaCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function MediaCardExample() { return ( <MediaCard title="Getting Started" primaryAction={{ content: 'Learn about getting started', onAc...
991
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/media-card-portrait-video-card.tsx
import {MediaCard, VideoThumbnail} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function MediaCardExample() { return ( <MediaCard portrait title="Turn your side-project into a business" primaryAction={{ ...
992
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/media-card-video-card.tsx
import {MediaCard, VideoThumbnail} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function MediaCardExample() { return ( <MediaCard title="Turn your side-project into a business" primaryAction={{ content: 'Lea...
993
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/media-card-with-dismiss-button.tsx
import {MediaCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function MediaCardExample() { return ( <MediaCard title="Getting Started" primaryAction={{ content: 'Learn about getting started', onAc...
994
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/media-card-with-no-actions.tsx
import {MediaCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function MediaCardExample() { return ( <MediaCard title="Getting Started" description="Discover how Shopify can power up your entrepreneurial journey."...
995
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/media-card-with-secondary-action.tsx
import {MediaCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function MediaCardExample() { return ( <MediaCard title="Get closer to launching your store" primaryAction={{ content: 'Add a product', ...
996
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/media-card-with-small-visual.tsx
import {MediaCard} from '@shopify/polaris'; import React from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function MediaCardExample() { return ( <MediaCard title="Getting Started" primaryAction={{ content: 'Learn about getting started', onAc...
997
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/modal-default.tsx
import {Button, Frame, Modal, TextContainer} from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function ModalExample() { const [active, setActive] = useState(true); const handleChange = useCallback(() => setActive(!...
998
0
petrpan-code/Shopify/polaris/polaris.shopify.com/pages
petrpan-code/Shopify/polaris/polaris.shopify.com/pages/examples/modal-large.tsx
import { Button, Modal, LegacyStack, DropZone, Checkbox, Frame, } from '@shopify/polaris'; import {useState, useCallback} from 'react'; import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; function LargeModalExample() { const [active, setActive] = useState(true); const [checke...
999