Skip to content

Commit

Permalink
feat: removing storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
websiddu committed Oct 18, 2024
1 parent fbe6513 commit ec76621
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Accordion/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ interface AccordionProps {
children: React.ReactNode;
}

interface AccordionGroupProps {
children: React.ReactNode | React.ReactNode[];
}

export const Accordion: React.FC<AccordionProps> = ({ title = '', children }) => {
return (
<details className={styles['accordion']}>
Expand All @@ -15,10 +19,6 @@ export const Accordion: React.FC<AccordionProps> = ({ title = '', children }) =>
);
};

interface AccordionGroupProps {
children: React.ReactNode | React.ReactNode[];
}

export const AccordionGroup: React.FC<AccordionGroupProps> = ({ children }) => {
return <div className={styles['accordionGroup']}>{children}</div>;
};

0 comments on commit ec76621

Please sign in to comment.