xcv58/Tab-Manager-v2

View on GitHub
packages/extension/src/js/components/Shortcut/Hotkeys.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react'
import TableCell from '@mui/material/TableCell'
import Shortcuts from './Shortcuts'
 
const Hotkeys = ({ keys }: { keys: string | string[] }) => {
return (
<TableCell
style={{
padding: 0,
}}
>
<div
style={{
display: 'flex',
flexDirection: 'row-reverse',
justifyContent: 'space-between',
textTransform: 'capitalize',
}}
>
<Shortcuts shortcut={keys} />
</div>
</TableCell>
)
}
 
export default Hotkeys