clawchain/dex-app/components/notifications/GovVoteNotification.tsx
2026-05-15 19:18:10 +03:00

19 lines
378 B
TypeScript

import React, { FC } from "react";
import { Text } from "@chakra-ui/react";
type Props = {
data: any;
};
const GovVoteNotification: FC<Props> = ({ data }) => {
const { action, proposal_id } = data;
return (
<Text textStyle={["small", "medium"]}>
Voted {action} Assembly Proposal with ID #{proposal_id}
</Text>
);
};
export default GovVoteNotification;