Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{() =>
<h5>{getGeyserTypeName(config.typeId.hash)}</h5>
<div>({x}, {y})</div>
}
const {
className,
gameObject
} = this.props;
const behavior = gameObject.getBehavior(GeyserBehavior);
const config = behavior && behavior.templateData.configuration;
if (!config) {
return (
<div>
This geyser has not been initialized, and cannot be edited. Probably because it has not yet been discovered in-game.
</div>
);
}
const materialType = getGeyserTypeName(config.typeId.hash) || "[Unknown]";
return (
<div>
<div>
<label>
Type
</label>
<div>
<div>
</div></div></div></div>