mirror of
https://github.com/motajs/template.git
synced 2026-05-15 13:31:09 +08:00
16 lines
335 B
TypeScript
16 lines
335 B
TypeScript
import { Keyboard } from '@motajs/system';
|
|
import KeyboardUI from './keyboard.vue';
|
|
|
|
interface VirtualKeyProps {
|
|
keyboard: Keyboard;
|
|
}
|
|
|
|
export function VirtualKey(props: VirtualKeyProps) {
|
|
return (
|
|
<KeyboardUI
|
|
style="align-self: center"
|
|
keyboard={props.keyboard}
|
|
></KeyboardUI>
|
|
);
|
|
}
|