1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-20 02:00:49 +00:00
strimertul/frontend/src/ui/pages/BotCommands.tsx

36 lines
846 B
TypeScript
Raw Normal View History

2022-01-02 10:46:07 +00:00
import { PlusIcon } from '@radix-ui/react-icons';
import React from 'react';
import { useTranslation } from 'react-i18next';
import {
Button,
FlexRow,
InputBox,
PageContainer,
PageHeader,
PageTitle,
TextBlock,
} from '../theme';
export default function TwitchBotCommandsPage(): React.ReactElement {
const { t } = useTranslation();
return (
<PageContainer>
<PageHeader>
<PageTitle>{t('pages.botcommands.title')}</PageTitle>
<TextBlock>{t('pages.botcommands.desc')}</TextBlock>
</PageHeader>
<FlexRow spacing="1" align="left">
<Button>
<PlusIcon /> {t('pages.botcommands.add-button')}
</Button>
<InputBox
css={{ flex: 1 }}
placeholder={t('pages.botcommands.search-placeholder')}
/>
</FlexRow>
</PageContainer>
);
}