Skip to content

Commit

Permalink
added todo
Browse files Browse the repository at this point in the history
  • Loading branch information
imjordanxd committed Dec 11, 2024
1 parent 012bf17 commit 1532c2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/mobx-react-lite/src/ObserverComponent.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { useObserver } from "./useObserver"

// TODO: this type could be improved in the next major release:
// type IObserverProps = { children: () => React.ReactNode, render?: never } | { children?: never, render: () => React.ReactNode }
interface IObserverProps {
children?(): React.ReactElement | null
render?(): React.ReactElement | null
Expand Down

0 comments on commit 1532c2e

Please sign in to comment.