This repository has been archived on 2024-11-11. You can view files and clone it, but cannot push or open issues or pull requests.
react-component-form/example/components/About.tsx

30 lines
819 B
TypeScript
Raw Normal View History

import Translation from "next-translate/Trans"
2022-08-26 20:19:31 +02:00
import { Link } from "./design/Link"
import { TextSpecial } from "./design/TextSpecial"
2022-08-26 20:19:31 +02:00
export const About: React.FC = () => {
return (
<section className="text-center mt-6">
<h1 className="text-4xl">{"<Form />"}</h1>
<h2 className="text-xl dark:text-gray-300 text-gray-600 mt-4">
npm install --save{" "}
2022-08-26 20:19:31 +02:00
<Link
href="https://www.npmjs.com/package/react-component-form"
target="_blank"
rel="noopener noreferrer"
2022-08-26 20:19:31 +02:00
>
react-component-form
</Link>
</h2>
<p className="max-w-lg mt-6 text-base" data-cy="main-description">
2022-08-26 20:19:31 +02:00
<Translation
i18nKey="common:about"
components={[<TextSpecial key="special" />]}
2022-08-26 20:19:31 +02:00
/>
</p>
</section>
)
}