mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
24 lines
530 B
TypeScript
24 lines
530 B
TypeScript
import styles from './post-form.module.css';
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
export interface PostFormProps {
|
|
address: string | undefined;
|
|
}
|
|
|
|
const PostForm = ({ address }: PostFormProps) => {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<>
|
|
<div className={styles.postFormButtonDesktop}>
|
|
[<span>{t('start_new_thread')}</span>]
|
|
</div>
|
|
<div className={styles.postFormButtonMobile}>
|
|
<span>{t('start_new_thread')}</span>
|
|
</div>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default PostForm;
|