@codecademy/gamut
71.0.071.0.1-alpha.d92614.0
dist/AccordionDeprecated/index.d.ts−
dist/AccordionDeprecated/index.d.tsDeleted−39
Index: package/dist/AccordionDeprecated/index.d.ts
===================================================================
--- package/dist/AccordionDeprecated/index.d.ts
+++ package/dist/AccordionDeprecated/index.d.ts
@@ -1,39 +0,0 @@
-import * as React from 'react';
-import { AccordionButtonSize, AccordionButtonTheme } from '../AccordionButtonDeprecated';
-export type ChildrenOrExpandedRender = React.ReactNode | ((expanded: boolean) => React.ReactNode);
-export type AccordionDeprecatedProps = {
- children: ChildrenOrExpandedRender;
- /**
- * CSS class name added to the root area container.
- */
- className?: string;
- /**
- * Whether the accordion should start off with expanded state.
- */
- initiallyExpanded?: boolean;
- /**
- * Called when the top button is clicked.
- *
- * @param expanding - New expanded state the accordion will transition to.
- */
- onClick?: (expanding: boolean) => void;
- /**
- * Visual size of the top button.
- */
- size?: AccordionButtonSize;
- /**
- * Visual theme of the top button.
- */
- theme?: AccordionButtonTheme;
- /**
- * Contents to place within the top button.
- */
- top: ChildrenOrExpandedRender;
-};
-/**
- * @deprecated
- * This component is in the old visual identity and will be updated soon.
- *
- * Check the [Gamut Board](https://www.notion.so/codecademy/Gamut-Status-Timeline-dd3c135d3848464ea6eb1b48e68fbb1d) for component status
- */
-export declare const AccordionDeprecated: React.FC<AccordionDeprecatedProps>;