From 6497ade68688afee3c2dcb181b0235405b4d54dc Mon Sep 17 00:00:00 2001 From: Renaud Rohlinger Date: Wed, 8 Feb 2023 21:47:12 +0900 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5514d49..be1988b 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,14 @@ position?: 'top-right'|'top-left'|'bottom-right'|'bottom-left' // quickly set th ```jsx import { Canvas } from '@react-three/fiber' import { Perf } from 'r3f-perf' -; - - + +function App() { + return ( + + + + ) +} ``` #### Usage without interface : PerfHeadless @@ -73,7 +78,7 @@ const PerfHook = () => { return } -export default function App() { +function App() { return (