+ {/* HACKHACK: strange use of unrelated dialog class, should be refactored */}
diff --git a/packages/docs-app/src/examples/core-examples/multistepDialogExample.tsx b/packages/docs-app/src/examples/core-examples/multistepDialogExample.tsx
index c6960d75f9..7e6bcced18 100644
--- a/packages/docs-app/src/examples/core-examples/multistepDialogExample.tsx
+++ b/packages/docs-app/src/examples/core-examples/multistepDialogExample.tsx
@@ -14,14 +14,13 @@
* limitations under the License.
*/
-import classNames from "classnames";
import * as React from "react";
import {
Button,
ButtonProps,
- Classes,
Code,
+ DialogBody,
DialogStep,
H5,
HTMLSelect,
@@ -206,7 +205,7 @@ export interface ISelectPanelProps {
}
const SelectPanel: React.FC = props => (
-
+
Use this dialog to divide content into multiple sequential steps.
Select one of the options below in order to proceed to the next step:
@@ -214,23 +213,21 @@ const SelectPanel: React.FC = props => (
-
+
);
export interface IConfirmPanelProps {
selectedValue: string;
}
-const ConfirmPanel: React.FC = props => {
- return (
-
-
- You selected Option {props.selectedValue}.
-
-
- To make changes, click the "Back" button or click on the "Select" step. Otherwise, click "Close" to
- complete your selection.
-
-
- );
-};
+const ConfirmPanel: React.FC = props => (
+
+
+ You selected Option {props.selectedValue}.
+
+
+ To make changes, click the "Back" button or click on the "Select" step. Otherwise, click "Close" to complete
+ your selection.
+
+
+);