MCPcopy
hub / github.com/game1024/OpenSpeedy / ShortcutFieldProps

Interface ShortcutFieldProps

src/components/ShortcutField.tsx:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32import ClearIcon from '@mui/icons-material/Clear';
33
34interface ShortcutFieldProps {
35 value: string;
36 onChange: (shortcut: string) => void;
37 disable?: boolean;
38 minWidth?: string;
39}
40
41export default function ShortcutField({ value, onChange, disable = false, minWidth = '10rem' }: ShortcutFieldProps) {
42 const { t } = useTranslation();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected