Syntax highlight state values
Summary: This adds simple syntax highlighting for state value in the table. Differential Revision: D21223208 fbshipit-source-id: 82b474cf19e3e13f5ebe5c474dc0f7d41cf4a56a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
cdc851f281
commit
39a384e33d
21
desktop/types/json-format-highlight.d.ts
vendored
Normal file
21
desktop/types/json-format-highlight.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
declare module 'json-format-highlight' {
|
||||
export interface ColorOptions {
|
||||
keyColor?: string;
|
||||
numberColor?: string;
|
||||
stringColor?: string;
|
||||
trueColor?: string;
|
||||
falseColor?: string;
|
||||
nullColor?: string;
|
||||
}
|
||||
|
||||
export default function (json: any, colorOptions?: ColorOptions);
|
||||
}
|
||||
Reference in New Issue
Block a user