Collection: {id}
{data?.collection?.title} - {data?.collection?.handle}
)
}
const meta: Meta = {
title: "Collections",
argTypes: {
showHookData: {
name: "Show hook data",
description:
"Whether or not story should display JSON of data returned from hook",
control: {
type: "boolean",
},
defaultValue: true,
},
},
parameters: {
controls: { expanded: true },
},
}
export default meta
export const List = (args: {
limit: number
offset: number
showHookData: boolean
}) =>