Skip to content

Commit 04f9bc0

Browse files
committed
Apply suggestions from code review
1 parent 7fa6ea0 commit 04f9bc0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/react-code-editor/src/components/CodeEditor/examples/CodeEditorConfigurationModal.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { useState } from 'react';
1919

2020
interface ConfigModalItemProps {
2121
/** Icon rendered inside the configuration modal. */
22-
icon?: ReactNode;
22+
icon?: React.ReactNode;
2323
/** Description of the configuration option. */
2424
description: string;
2525
/** Title of the configuration option. We assume that titles are unique. */
@@ -34,7 +34,7 @@ interface ConfigModalItemProps {
3434
* Slot to render inside the configuration modal. Remember to add `aria-labelledby` and `aria-describedby` props
3535
* to the control inside the slot, pointing to the title and description ids respectively.
3636
*/
37-
slot?: ReactNode;
37+
slot?: React.ReactNode;
3838
}
3939

4040
const ConfigModalItem: React.FunctionComponent<ConfigModalItemProps> = ({
@@ -111,7 +111,7 @@ interface ConfigModalControlProps {
111111
title?: string;
112112
/** Description of the configuration modal. */
113113
description?: string;
114-
/** OptionalID of the configuration modal. Also used as a prefix for the ids of inner elements and the OUIA id. */
114+
/** Optional ID of the configuration modal. Also used as a prefix for the ids of inner elements and the OUIA id. */
115115
ouiaId?: string;
116116
}
117117

0 commit comments

Comments
 (0)