From d1d920f685c539a19839bddf275ee49fbfce9a75 Mon Sep 17 00:00:00 2001 From: Faraz Shaikh Date: Sun, 1 May 2022 15:59:06 +0530 Subject: [PATCH] Rename debugger --- examples/example-configurator/src/Monkey.tsx | 6 +++--- src/core/debugger/index.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/example-configurator/src/Monkey.tsx b/examples/example-configurator/src/Monkey.tsx index 8cff0f0..7909e0f 100644 --- a/examples/example-configurator/src/Monkey.tsx +++ b/examples/example-configurator/src/Monkey.tsx @@ -4,7 +4,7 @@ Auto-generated by: https://github.com/pmndrs/gltfjsx import React, { useState } from 'react' import { useGLTF, TransformControls, OrbitControls, useTexture } from '@react-three/drei' -import { DebugLayerMaterial } from 'lamina/debug' +import { LaminaDebugger } from 'lamina/debug' import * as LAYERS from 'lamina' import { button, useControls } from 'leva' import { Texture } from 'lamina' @@ -57,9 +57,9 @@ export default function Monkey() { - + {layers} - + diff --git a/src/core/debugger/index.tsx b/src/core/debugger/index.tsx index ee0940f..13ba847 100644 --- a/src/core/debugger/index.tsx +++ b/src/core/debugger/index.tsx @@ -14,7 +14,7 @@ import { downloadObjectAsJson, serializedLayersToJSX } from '../../utils/ExportU import useExports from './useExports' import useAttach from './useAttach' -export const DebugLayerMaterial = React.forwardRef< +export const LaminaDebugger = React.forwardRef< LayerMaterialType, React.PropsWithChildren> >(({ children, ...props }, forwardRef) => {