feat(explore): adhoc column formatting for Table chart (#13758)

This commit is contained in:
Jesse Yang
2021-04-01 23:28:42 -07:00
committed by GitHub
parent 4789074309
commit 65940770ac
8 changed files with 57870 additions and 289 deletions

View File

@@ -71,6 +71,9 @@ export default class Control extends React.PureComponent<
const { type, hidden } = this.props;
if (!type) return null;
const ControlComponent = typeof type === 'string' ? controlMap[type] : type;
if (!ControlComponent) {
return `Unknown controlType: ${type}`;
}
return (
<div
className="Control"