@pmndrs/uikit
Version:
Build performant 3D user interfaces with Three.js and yoga.
25 lines (24 loc) • 582 B
JavaScript
import { MeshBasicMaterial } from 'three';
export const componentDefaults = {
scrollbarWidth: 10,
visibility: 'visible',
opacity: 1,
depthTest: true,
renderOrder: 0,
fontSize: 16,
letterSpacing: 0,
lineHeight: '120%',
wordBreak: 'break-word',
verticalAlign: 'middle',
textAlign: 'left',
fontWeight: 'normal',
caretWidth: 1.5,
receiveShadow: false,
castShadow: false,
panelMaterialClass: MeshBasicMaterial,
pixelSize: 0.01,
anchorX: 'center',
anchorY: 'center',
tabSize: 8,
whiteSpace: 'normal',
};