import React from "react"; import ObjectName from "../object/ObjectName"; import ObjectValue from "../object/ObjectValue"; interface IProps { onMatchFound: any; searchBoxText: string; filterStrings: string[]; name: string; data: any; isNonenumerable: boolean; } /** * if isNonenumerable is specified, render the name dimmed */ const ObjectLabel = ({ onMatchFound, searchBoxText, filterStrings, name, data, isNonenumerable = false }: IProps) => ( : ); export default ObjectLabel;