kafka-ui/src/components/Topics/Details/Messages/Messages.tsx
2020-02-04 09:24:16 +03:00

20 lines
331 B
TypeScript

import React from 'react';
import { ClusterId, TopicName } from 'redux/interfaces';
interface Props {
clusterId: ClusterId;
topicName: TopicName;
}
const Messages: React.FC<Props> = ({
clusterId,
topicName,
}) => {
return (
<h1>
Messages from {clusterId}{topicName}
</h1>
);
}
export default Messages;