@khanacademy/perseus-editor 8.0.0 → 8.2.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.
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
- declare function Heading({ title, isOpen, onToggle, }: {
2
+ declare function Heading({ title, isOpen, isCollapsible, onToggle, }: {
3
3
  title: string;
4
4
  isOpen: boolean;
5
+ isCollapsible: boolean;
5
6
  onToggle?: (isOpen: boolean) => void;
6
7
  }): JSX.Element;
7
8
  export default Heading;
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ type Props = {
3
+ equationString: string;
4
+ children: React.ReactNode;
5
+ };
6
+ export declare function InteractiveGraphCorrectAnswer(props: Props): JSX.Element;
7
+ export {};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { PerseusGraphType, Range, CollinearTuple } from "@khanacademy/perseus";
3
+ type Props = PerseusGraphType & {
4
+ range: [x: Range, y: Range];
5
+ step: [x: number, y: number];
6
+ onChange: (startCoords: CollinearTuple) => void;
7
+ };
8
+ declare const StartCoordSettings: (props: Props) => JSX.Element | null;
9
+ export default StartCoordSettings;