github
1394 of 2532 branches covered (55.06%)
27 of 1620 new or added lines in 60 files covered. (1.67%)
4 existing lines in 2 files now uncovered.14588 of 68702 relevant lines covered (21.23%)
2.02 hits per line
NEW
|
import { useTranslation } from '../../../../context/app/i18n'; |
|
NEW
|
import { FilterInput } from '../FilterInput'; |
× |
NEW
|
import type { IFilterLinkProps } from './types'; |
× |
NEW
|
|
× |
NEW
|
type IFilterLinkInputProps = IFilterLinkProps<string>;
|
× |
NEW
|
|
× |
NEW
|
export const FilterLinkInput = (props: IFilterLinkInputProps) => { |
× |
NEW
|
const { value, onSelect } = props;
|
× |
NEW
|
const { t } = useTranslation();
|
× |
NEW
|
|
× |
NEW
|
return (
|
× |
NEW
|
<FilterInput |
× |
NEW
|
placeholder={t('filter.linkInputPlaceholder')} |
× |
NEW
|
value={value} |
× |
NEW
|
onChange={onSelect} |
× |
NEW
|
className="w-40"
|
× |
NEW
|
/> |
× |
NEW
|
); |
× |
NEW
|
}; |
× |