@silas-test/ob-molecules-accordion-group 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/index.cjs.js +2338 -0
- package/index.d.ts +1 -0
- package/package.json +10 -0
- package/src/index.d.ts +1 -0
- package/src/lib/accordion-group.d.ts +2 -0
- package/src/lib/accordion-group.interface.d.ts +11 -0
- package/src/lib/accordion-group.stories.d.ts +7 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./src/index";
|
package/package.json
ADDED
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/accordion-group';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IAccordionProps } from '@silas-test/ob-atoms-accordion';
|
|
2
|
+
import { DefaultProps } from '@silas-test/ui-utils';
|
|
3
|
+
/**
|
|
4
|
+
* @interface
|
|
5
|
+
* @description Props for Accordion Group component
|
|
6
|
+
*/
|
|
7
|
+
export interface IAccordionGroupProps extends DefaultProps {
|
|
8
|
+
className?: string;
|
|
9
|
+
data: IAccordionProps[];
|
|
10
|
+
multi?: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta } from '@storybook/react';
|
|
2
|
+
import { AccordionGroup } from './accordion-group';
|
|
3
|
+
declare const Story: Meta<typeof AccordionGroup>;
|
|
4
|
+
export default Story;
|
|
5
|
+
export declare const Desktop: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./accordion-group.interface").IAccordionGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export declare const Tablet: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./accordion-group.interface").IAccordionGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export declare const Mobile: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./accordion-group.interface").IAccordionGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|