mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-05-10 18:43:24 +08:00
16 lines
345 B
TypeScript
16 lines
345 B
TypeScript
import { Keyboard } from '../custom/keyboard';
|
|
import KeyboardUI from '@/panel/keyboard.vue';
|
|
|
|
interface VirtualKeyProps {
|
|
keyboard: Keyboard;
|
|
}
|
|
|
|
export function VirtualKey(props: VirtualKeyProps) {
|
|
return (
|
|
<KeyboardUI
|
|
style="align-self: center"
|
|
keyboard={props.keyboard}
|
|
></KeyboardUI>
|
|
);
|
|
}
|