diff --git a/examples/src/AgentMetadata.tsx b/examples/src/AgentMetadata.tsx new file mode 100644 index 00000000..bfc15bf3 --- /dev/null +++ b/examples/src/AgentMetadata.tsx @@ -0,0 +1,34 @@ +import React from "react"; +import { AgentData } from "../../type-declarations/simularium/types"; + +interface AgentMetadataProps { + agentData: AgentData; +} + +const AgentMetadata = ({ agentData }: AgentMetadataProps): JSX.Element => { + + const getContents = () => { + if (agentData.instanceId === -1) { + return