DataDescriptor BigInt
Summary: The `DataDescriptionType` accepts the `BigInt` type but it doesn't render. Added the `case` for that and reuse the `NumberValue` tag for it. Reviewed By: aigoncharov Differential Revision: D48152012 fbshipit-source-id: 32ebc8a37df34d57b40c7ecdad331c547415b335
This commit is contained in:
committed by
Facebook GitHub Bot
parent
24cfd74252
commit
0fdd901297
@@ -573,7 +573,8 @@ class DataDescriptionContainer extends PureComponent<{
|
||||
|
||||
case 'number':
|
||||
return <NumberValue>{+val}</NumberValue>;
|
||||
|
||||
case 'bigint':
|
||||
return <NumberValue>{val.toString()}</NumberValue>;
|
||||
case 'color': {
|
||||
const colorInfo = parseColor(val);
|
||||
if (typeof val === 'number' && val === 0) {
|
||||
|
||||
Reference in New Issue
Block a user