Skip to content

Commit 90d2d74

Browse files
authored
Update docs for change to JSX.Element
1 parent 2bb3798 commit 90d2d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface MosaicUpdate<T> {
5757

5858
/**
5959
* Mosaic needs a way to resolve `T` into react elements for display.
60-
* This provides a way to look them up. If `T` is a `React.ReactElement`, then this can simply be `_.identity`
60+
* This provides a way to look them up. If `T` is a `JSX.Element`, then this can simply be `_.identity`
6161
*/
6262
export type TileRenderer<T> = (t: T) => JSX.Element;
6363

0 commit comments

Comments
 (0)