mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-18 17:48:52 +08:00
16 lines
342 B
TypeScript
16 lines
342 B
TypeScript
import { Keyboard } from '@motajs/system-action';
|
|
import KeyboardUI from './keyboard.vue';
|
|
|
|
interface VirtualKeyProps {
|
|
keyboard: Keyboard;
|
|
}
|
|
|
|
export function VirtualKey(props: VirtualKeyProps) {
|
|
return (
|
|
<KeyboardUI
|
|
style="align-self: center"
|
|
keyboard={props.keyboard}
|
|
></KeyboardUI>
|
|
);
|
|
}
|