import { infoLinks } from "@/app/lib/linkList/infoLinks";
import Link from "next/link";
let linksArray = [
    infoLinks.ABOUT,
    infoLinks.FAQ,
    infoLinks.DISCLOSURE,
    infoLinks.PRIVACYPOLICY,
    infoLinks.PIP,
    infoLinks.TOS
];
export const Information = (props) => {
    return (
        (<div>
            <h4>{props.titleText}</h4>
            <ul>
                {linksArray.map((link, index) => (
                    <li key={index}>
                        <Link href={link.URL} legacyBehavior>
                            {link.TEXT}
                        </Link>
                    </li>
                ))}
            </ul>
        </div>)
    );
}
export default Information;