Skip to content

Commit

Permalink
docs: accordion group
Browse files Browse the repository at this point in the history
  • Loading branch information
deeved-hiuston-brisa committed Oct 9, 2023
1 parent 64bcd79 commit 35788ee
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions stories/Accordion.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,19 @@ const TemplateAccordionCustomHeader: Story = (args) => ({
});

export const AccordionCustomHeader = TemplateAccordionCustomHeader.bind({});

const TemplateAccordionGroup: Story = (args) => ({
props: args,
template: `
<ion-accordion-group>
<ion-accordion [name]="'Accrodion ' + item" *ngFor="let item of [1, 2, 3, 4]">
Conteúdo do Accordion {{ item }}
</ion-accordion>
</ion-accordion-group>
`,
moduleMetadata: {
imports: [CommonModule, IonAccordionModule],
},
});

export const AccordionGroup = TemplateAccordionGroup.bind({});

0 comments on commit 35788ee

Please sign in to comment.