what-is-word-cli
Version:
CLI game where your task is to unscramble words by given definition
15 lines • 321 B
JavaScript
import React from 'react';
import { Box } from 'ink';
function FullScreen({
children
}) {
const size = {
columns: process.stdout.columns,
rows: process.stdout.rows
};
return /*#__PURE__*/React.createElement(Box, {
width: size.columns,
height: size.rows
}, children);
}
export default FullScreen;