File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,10 @@ exports[`definition for 'code-view' matches the snapshot 1`] = `
4343 " type" : " ((code: string) => React.ReactNode)" ,
4444 },
4545 {
46- " description" : " An object containing all the necessary localized strings required by the component." ,
46+ " description" : " An object containing all the necessary localized strings required by the component. The object should contain:
47+
48+ * \` lineNumberLabel\` - Label for the column that displays line numbers (when line numbers are visible)
49+ * \` codeLabel\` - Label for the column that displays the code content (when line numbers are visible)",
4750 "inlineType": {
4851 " name" : " CodeViewProps.I18nStrings" ,
4952 " properties" : [
Original file line number Diff line number Diff line change @@ -43,7 +43,10 @@ export interface CodeViewProps {
4343 highlight ?: ( code : string ) => React . ReactNode ;
4444
4545 /**
46- * An object containing all the necessary localized strings required by the component.
46+ * An object containing all the necessary localized strings required by the component. The object should contain:
47+ *
48+ * * `lineNumberLabel` - Label for the column that displays line numbers (when line numbers are visible)
49+ * * `codeLabel` - Label for the column that displays the code content (when line numbers are visible)
4750 */
4851 i18nStrings ?: CodeViewProps . I18nStrings ;
4952}
You can’t perform that action at this time.
0 commit comments