import React from 'react'; import { FormattedMessage } from 'react-intl'; import { Modal } from 'soapbox/components/ui'; import { useFeatures } from 'soapbox/hooks'; interface IHotkeysModal { onClose: () => void } const Hotkey: React.FC<{ children: React.ReactNode }> = ({ children }) => ( {children} ); const TableCell: React.FC<{ children: React.ReactNode }> = ({ children }) => ( {children} ); const HotkeysModal: React.FC = ({ onClose }) => { const features = useFeatures(); return ( } onClose={onClose} width='4xl' >
rmpf {features.emojiReacts && ( e )} benter, oa
{features.spoilers && ( x )} {features.spoilers && ( h )} up, kdown, jnalt + nbackspacesesc
g + hg + ng + fg + pg + ug + bg + m {features.followRequests && ( g + r )} ?
); }; export default HotkeysModal;