import React from 'react' import { useTranslation } from 'react-i18next' import { useComponent } from '@xrengine/engine/src/ecs/functions/ComponentFunctions' import { HemisphereLightComponent } from '@xrengine/engine/src/scene/components/HemisphereLightComponent' import VerifiedUserIcon from '@mui/icons-material/VerifiedUser' import ColorInput from '../inputs/ColorInput' import InputGroup from '../inputs/InputGroup' import NumericInputGroup from '../inputs/NumericInputGroup' import NodeEditor from './NodeEditor' import { EditorComponentType, updateProperty } from './Util' /** * HemisphereLightNodeEditor used to provide property customization view for Hemisphere Light. */ export const HemisphereLightNodeEditor: EditorComponentType = (props) => { const { t } = useTranslation() const lightComponent = useComponent(props.entity, HemisphereLightComponent).value return ( ) } HemisphereLightNodeEditor.iconComponent = VerifiedUserIcon export default HemisphereLightNodeEditor