Files
5chan/src/components/post-form/post-form.tsx
T

24 lines
530 B
TypeScript
Raw Normal View History

2024-03-20 13:00:11 +01:00
import styles from './post-form.module.css';
2024-03-20 13:08:08 +01:00
import { useTranslation } from 'react-i18next';
2024-03-20 13:00:11 +01:00
export interface PostFormProps {
address: string | undefined;
}
const PostForm = ({ address }: PostFormProps) => {
2024-03-20 13:08:08 +01:00
const { t } = useTranslation();
2024-03-20 13:00:11 +01:00
return (
2024-03-21 15:21:33 +01:00
<>
<div className={styles.postFormButtonDesktop}>
[<span>{t('start_new_thread')}</span>]
</div>
<div className={styles.postFormButtonMobile}>
<span>{t('start_new_thread')}</span>
</div>
</>
2024-03-20 13:00:11 +01:00
);
};
export default PostForm;