import React from 'react'; import { useTranslation } from 'react-i18next'; import Keys from './Keys'; import styles from './Combos.less'; type Props = { combos: string[][], }; const Combos = ({ combos }: Props) => { const { t } = useTranslation(); return (
{ combos.map((keys, index) => (
{ index < (combos.length - 1) && (
{ t('SETTINGS_SHORTCUT_OR') }
) }
)) }
); }; export default Combos;