index.tsx 480 B

123456789101112131415161718192021
  1. import React from 'react';
  2. import Button from '../Button';
  3. import Typography from '../Typography';
  4. import { Group } from '../../global/toolStyled';
  5. type Props = {
  6. t: (key: string) => string;
  7. };
  8. const PageSelector: React.FC<Props> = ({ t }: Props) => (
  9. <Group>
  10. <Typography variant="subtitle">{t('pageRange')}</Typography>
  11. <Button appearance="primary-hollow" style={{ width: '50%' }}>
  12. {t('All Pages')}
  13. </Button>
  14. </Group>
  15. );
  16. export default PageSelector;