function getProps()

in artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/messages/MessageView.tsx [235:252]


function getProps(properties: any, type:string): React.ReactNode {
  if(properties) {
    return Object.keys(properties).map((key, index) => {
      return (
        <>
          <Tr id={key}>
            <Td id={key + "key"}>{key}</Td>
            <Td id={key + "val"}>{"" + properties[key]}</Td>
            <Td id={key + "type"}>{type}</Td>
          </Tr>
        </>
      );
    }
    )
  } else {
    return '';
  };
}