All files / app/src/entities/accounting-object-import/ui/accounting-object-import-header-content accounting-object-import-header-content.tsx

100% Statements 8/8
100% Branches 1/1
100% Functions 1/1
100% Lines 8/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 141x         1x 1x 1x 1x 1x 1x   1x  
import { Button } from '@tmk/ui-kit'
import { useTranslate } from '@/shared/lib'
import { FC } from 'react'
import { IMPORT_CREATE_PAGE } from '@/entities/accounting-object-import'
 
export const AccountingObjectImportHeaderContent: FC = () => {
  const { t } = useTranslate(['common'])
  return (
    <Button href={IMPORT_CREATE_PAGE}>
      <h2>{t('Load_objects')}</h2>
    </Button>
  )
}