index.tsx 495 B

12345678910111213141516171819202122232425
  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> = ({
  9. t,
  10. }: Props) => (
  11. <Group>
  12. <Typography variant="subtitle">
  13. {t('pageRange')}
  14. </Typography>
  15. <Button appearance="primary-hollow" style={{ width: '50%' }}>
  16. {t('All Pages')}
  17. </Button>
  18. </Group>
  19. );
  20. export default PageSelector;