import { Component } from "../createEntry/types.cjs"; import { ReactElement } from "react"; //#region src/Render/types.d.ts /** * Content accepted by {@link Render}. * * Strings and numbers are rendered directly. React elements are cloned with the * provided props, and component constructors are rendered with those props. */ type Content = string | number | ReactElement | Component; /** * Props accepted by {@link Render}. */ interface RenderProps { /** String, number, React element, or React component to render. */ content: Content; /** Props passed to element and component content. */ props?: Record; } //#endregion export { type Component, Content, RenderProps }; //# sourceMappingURL=types.d.cts.map