@donkit-ai/design-system 1.1.9 → 1.1.10
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/dist/index.d.ts +3 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -246,12 +246,13 @@ export declare function P3(props: ParagraphProps): JSX.Element;
|
|
|
246
246
|
|
|
247
247
|
// ─── Accordion ────────────────────────────────────────────────────────────
|
|
248
248
|
|
|
249
|
-
export interface AccordionProps extends HTMLAttributes<HTMLDivElement> {
|
|
249
|
+
export interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'onChange'> {
|
|
250
250
|
children?: ReactNode;
|
|
251
|
-
title:
|
|
251
|
+
title: ReactNode;
|
|
252
252
|
defaultExpanded?: boolean;
|
|
253
253
|
expanded?: boolean;
|
|
254
254
|
onToggle?: (expanded: boolean) => void;
|
|
255
|
+
onChange?: (expanded: boolean) => void;
|
|
255
256
|
padding?: 's' | 'm' | 'l';
|
|
256
257
|
}
|
|
257
258
|
|