import React from 'react'; import { useSelector } from 'react-redux'; interface TextProps { text: string; } const Text: React.FC = ({ text }) => { return (

{text}

); }; export default Text;