UNPKG

@p5-wrapper/react

Version:

A wrapper component that allows you to utilise P5 sketches within React apps.

5 lines (4 loc) 115 B
import { type ReactNode } from "react"; export type WithChildren<T = unknown> = T & { children?: ReactNode; };