Skip to content

Commit

Permalink
docs: [sortable-list] fix #376 - update shared option story
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgoud committed Sep 18, 2024
1 parent 8eddf24 commit bd79392
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions packages/components/sortable-list/stories/sortable-list.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,17 @@ export default {
options: {
control: 'object',
description:
'Options of the sortable list (see https://github.com/SortableJS/Sortable#options)',
'Options of the sortable list',
table: {
type: {
summary: 'type SortableOptionsProp',
detail: `
// see https://github.com/SortableJS/Sortable#options (see details for default values)
// Import
import { type SortableOptions } from '@prestashopcorp/puik-components'
`
},
defaultValue: {
summary: 'see details',
detail: `
Expand Down Expand Up @@ -508,7 +517,9 @@ export const Shared = {
source: {
code: `
<!--VueJS Snippet-->
let options = {
import { type SortableOptions } from '@prestashopcorp/puik-components';
let options: SortableOptionsProp = {
group: "shared", // Name of the group for shared sortable lists
};
Expand Down

0 comments on commit bd79392

Please sign in to comment.