File tree Expand file tree Collapse file tree
packages/react-code-editor/src/components/CodeEditor/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { useState } from 'react';
1919
2020interface 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
4040const 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
You can’t perform that action at this time.
0 commit comments